summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 046df0e..77fb4d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2011-02-20 Jim Meyering <meyering@redhat.com>
+
+ 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.
+
2011-02-17 Jim Meyering <meyering@redhat.com>
and Andreas Gruenbacher <agruen@linbit.com>