diff options
-rw-r--r-- | editors/diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/diff.c b/editors/diff.c index 2800917..1adc4cb 100644 --- a/editors/diff.c +++ b/editors/diff.c @@ -1050,7 +1050,7 @@ int diff_main(int argc UNUSED_PARAM, char **argv) /* diffreg can get non-regular files here */ print_status(gotstdin > 1 ? STATUS_SAME : diffreg(file), file); - if (dirfile) + if (ENABLE_FEATURE_CLEAN_UP && dirfile) free(file[dir]); } |