[Bug middle-end/56461] [4.8 Regression] GCC is leaking lots of memory
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 1 21:07:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56461
--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-03-01 21:06:13 UTC ---
Author: jakub
Date: Fri Mar 1 21:06:04 2013
New Revision: 196394
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196394
Log:
PR middle-end/56461
* files.c (_cpp_save_file_entries): Free result at the end.
* pch.c (cpp_string_free): New function.
(cpp_save_state): Use it in htab_create call.
(cpp_write_pch_deps): Free ss->defs. Destroy ss->definedhash.
Modified:
trunk/libcpp/ChangeLog
trunk/libcpp/files.c
trunk/libcpp/pch.c
More information about the Gcc-bugs
mailing list