From 16afe0cfc3e47cfdb4e477fb97486d55b7f5d593 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Nov 24 2009 18:41:12 +0000 Subject: - make sure there's room for all three --- diff --git a/src/store-files.c b/src/store-files.c index 13e5d89..41a9fca 100644 --- a/src/store-files.c +++ b/src/store-files.c @@ -1466,7 +1466,7 @@ cm_store_get_all_cas(void *parent) if (glob(path, 0, NULL, &globs) != 0) { globs.gl_pathc = 0; } - ret = talloc_array_ptrtype(parent, ret, globs.gl_pathc + 3); + ret = talloc_array_ptrtype(parent, ret, globs.gl_pathc + 4); if (ret != NULL) { for (i = 0, j = 0; i < globs.gl_pathc; i++) { p = globs.gl_pathv[i];