summaryrefslogtreecommitdiff
path: root/ChangeLog-2011
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-02-20 11:00:59 +0100
committerJim Meyering <meyering@redhat.com>2011-02-21 00:29:54 +0100
commit8678ae92eac4712eadeeb72cec1b53b395a0e546 (patch)
treeaaf4a5025cf8bb246ab50b69256bc318f4b2b2fd /ChangeLog-2011
parente0f707523cab26f74ec23f4a20a27add8702ed5b (diff)
downloadpatch-8678ae92eac4712eadeeb72cec1b53b395a0e546.tar.gz
maint: remove unnecessary tests before free
There is no longer any need to avoid "free(NULL)" (since SunOS 4), so replace each "if (P) free (P);" with "free (P);". * src/inp.c (get_input_file): Remove unnecessary test-before-free. * src/patch.c (get_some_switches): Likewise. * src/pch.c (intuit_diff_type, pch_swap): Likewise.
Diffstat (limited to 'ChangeLog-2011')
0 files changed, 0 insertions, 0 deletions