From: Joel E. Denny Date: Mon, 1 Nov 2010 01:26:22 +0000 (-0400) Subject: Fix memory leak. X-Git-Tag: v2.7.90~652 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/71431084d157c1a15adbab5403246cdce670875a Fix memory leak. * src/output.c (prepare_rules): Free temporary array. --- diff --git a/ChangeLog b/ChangeLog index 3f7a2ee0..340a9db3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-10-31 Joel E. Denny + + Fix memory leak. + * src/output.c (prepare_rules): Free temporary array. + 2010-10-31 Joel E. Denny yysyntax_error: improve invocation readability. diff --git a/src/output.c b/src/output.c index 6b29e5c0..1d4c15ad 100644 --- a/src/output.c +++ b/src/output.c @@ -249,6 +249,7 @@ prepare_rules (void) free (r2); free (dprec); free (merger); + free (immediate); } /*--------------------------------------------.