diff options
Diffstat (limited to '')
-rw-r--r-- | src/shared/edit-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/edit-util.c b/src/shared/edit-util.c index b59f129528..f1eb7987f4 100644 --- a/src/shared/edit-util.c +++ b/src/shared/edit-util.c @@ -71,7 +71,7 @@ int edit_files_add( if (edit_files_contains(context, path)) return 0; - if (!GREEDY_REALLOC0(context->files, context->n_files + 2)) + if (!GREEDY_REALLOC(context->files, context->n_files + 1)) return log_oom(); new_path = strdup(path); |