summaryrefslogtreecommitdiff
path: root/bfd/doc
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/doc')
-rw-r--r--bfd/doc/ChangeLog4
-rw-r--r--bfd/doc/chew.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/doc/ChangeLog b/bfd/doc/ChangeLog
index c33eb3b3b31..08c278081c5 100644
--- a/bfd/doc/ChangeLog
+++ b/bfd/doc/ChangeLog
@@ -1,3 +1,7 @@
+2013-10-14 Nick Clifton <nickc@redhat.com>
+
+ * chew.c (perform): Free next.
+
2013-04-15 Alan Modra <amodra@gmail.com>
* Makefile.am ($(MKDOC)): Append $(EXEEXT_FOR_BUILD) to temp file.
diff --git a/bfd/doc/chew.c b/bfd/doc/chew.c
index f949e1f7ffc..b019837b13b 100644
--- a/bfd/doc/chew.c
+++ b/bfd/doc/chew.c
@@ -1256,7 +1256,7 @@ perform ()
fprintf (stderr, "warning, %s is not recognised\n", next);
skip_past_newline ();
}
-
+ free (next);
}
else
skip_past_newline ();