PR jit/63854: Don't leak producer_string in dwarf2out.c

gcc/ChangeLog:
	PR jit/63854
	* dwarf2out.c (dwarf2out_c_finalize): Free producer_string.

From-SVN: r217801
This commit is contained in:
David Malcolm 2014-11-19 19:57:09 +00:00 committed by David Malcolm
parent eec424587c
commit b705fe729a
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-11-19 David Malcolm <dmalcolm@redhat.com>
PR jit/63854
* dwarf2out.c (dwarf2out_c_finalize): Free producer_string.
2014-11-19 David Malcolm <dmalcolm@redhat.com>
PR jit/63854

View File

@ -24741,6 +24741,8 @@ dwarf2out_c_finalize (void)
frame_pointer_fb_offset = 0;
frame_pointer_fb_offset_valid = false;
base_types.release ();
XDELETEVEC (producer_string);
producer_string = NULL;
}
#include "gt-dwarf2out.h"