aboutsummaryrefslogtreecommitdiff
path: root/bfd/doc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2016-08-22 14:23:19 +0100
committerNick Clifton <nickc@redhat.com>2016-08-22 14:23:19 +0100
commit5fbe0d878a691b9be42bb2bdebd027ac3dfd38c2 (patch)
treeb3329af3b053dfa20869ed2fd9f94c66469fe922 /bfd/doc
parent4ca0333f073cb4d86fe9d4e64c9dfdca5deba1e0 (diff)
downloadgdb-5fbe0d878a691b9be42bb2bdebd027ac3dfd38c2.zip
gdb-5fbe0d878a691b9be42bb2bdebd027ac3dfd38c2.tar.gz
gdb-5fbe0d878a691b9be42bb2bdebd027ac3dfd38c2.tar.bz2
Free the string buffer used by the chew program to hold each file it parses.
* doc/chew.c (main): Free the string buffer used to files as they are parsed.
Diffstat (limited to 'bfd/doc')
-rw-r--r--bfd/doc/chew.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/doc/chew.c b/bfd/doc/chew.c
index 71c7e2d..bf3d249 100644
--- a/bfd/doc/chew.c
+++ b/bfd/doc/chew.c
@@ -1602,6 +1602,7 @@ main (ac, av)
read_in (&b, f);
compile (b.ptr);
perform ();
+ delete_string (&b);
}
else if (av[i][1] == 'i')
{