diff options
author | Ron Yorston | 2021-02-16 09:09:12 +0000 |
---|---|---|
committer | Denys Vlasenko | 2021-02-22 19:00:07 +0100 |
commit | 858f8aafacf93ff4642a2f62dc0d7f0f31f95cce (patch) | |
tree | 7f430e403e21bf97dc75f4e9ec6a72b9fb7715e5 /editors/diff.c | |
parent | 9fa7d7d97d374b091819670299f25cad87a75779 (diff) | |
download | busybox-858f8aafacf93ff4642a2f62dc0d7f0f31f95cce.zip busybox-858f8aafacf93ff4642a2f62dc0d7f0f31f95cce.tar.gz |
diff: code shrink
function old new delta
diff_main 1515 1495 -20
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-20) Total: -20 bytes
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors/diff.c')
-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]); } |