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>
This commit is contained in:
parent
9fa7d7d97d
commit
858f8aafac
@ -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]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user