mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-20 09:35:05 +08:00
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:
parent
eec424587c
commit
b705fe729a
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user