]> git.saurik.com Git - bison.git/commitdiff
Fix memory leak.
authorJoel E. Denny <joeldenny@joeldenny.org>
Mon, 1 Nov 2010 01:26:22 +0000 (21:26 -0400)
committerJoel E. Denny <joeldenny@joeldenny.org>
Mon, 1 Nov 2010 01:27:13 +0000 (21:27 -0400)
* src/output.c (prepare_rules): Free temporary array.

ChangeLog
src/output.c

index 3f7a2ee05899b71c450fa966b8024aac2ec48fa4..340a9db31f65fc72e90c4ab3c74787a3445f78a5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-10-31  Joel E. Denny  <joeldenny@joeldenny.org>
+
+       Fix memory leak.
+       * src/output.c (prepare_rules): Free temporary array.
+
 2010-10-31  Joel E. Denny  <joeldenny@joeldenny.org>
 
        yysyntax_error: improve invocation readability.
index 6b29e5c056cd337fbe045ddce49b5e147b054728..1d4c15ada4901ef628bdc1469af136a8eb5f2510 100644 (file)
@@ -249,6 +249,7 @@ prepare_rules (void)
   free (r2);
   free (dprec);
   free (merger);
+  free (immediate);
 }
 
 /*--------------------------------------------.