]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
re PR middle-end/56461 (GCC is leaking lots of memory)
authorJakub Jelinek <jakub@redhat.com>
Fri, 1 Mar 2013 21:06:04 +0000 (22:06 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 1 Mar 2013 21:06:04 +0000 (22:06 +0100)
commit3b8af25b7ad47b31463046af1f244ad7af5900a9
tree78997fd39595c6ea1728a0697ea35af66c6f87b7
parent689eaba3227c8616894de845d38ef9c8e10de9a1
re PR middle-end/56461 (GCC is leaking lots of memory)

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.

From-SVN: r196394
libcpp/ChangeLog
libcpp/files.c
libcpp/pch.c