diff options
author | Tobias Burnus <burnus@net-b.de> | 2012-10-15 22:08:57 +0200 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2012-10-15 22:08:57 +0200 |
commit | 55e7f90769fbc29ce4e156d33c63298497acceb7 (patch) | |
tree | 9638e29aa7f7e52938c01390081a134c642b7a02 /libcpp/pch.c | |
parent | 95bf35bd2566026f8337185dff6633358b3bbb7f (diff) | |
download | gcc-55e7f90769fbc29ce4e156d33c63298497acceb7.zip gcc-55e7f90769fbc29ce4e156d33c63298497acceb7.tar.gz gcc-55e7f90769fbc29ce4e156d33c63298497acceb7.tar.bz2 |
files.c (read_file_guts, [...]): Free memory before returning.
2012-10-15 Tobias Burnus <burnus@net-b.de>
* files.c (read_file_guts, _cpp_save_file_entries): Free memory
before returning.
* lex.c (warn_about_normalization): Ditto.
* mkdeps.c (deps_save): Ditto.
* pch.c (cpp_valid_state): Ditto.
From-SVN: r192474
Diffstat (limited to 'libcpp/pch.c')
-rw-r--r-- | libcpp/pch.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libcpp/pch.c b/libcpp/pch.c index d278f14..001bf3f 100644 --- a/libcpp/pch.c +++ b/libcpp/pch.c @@ -710,7 +710,6 @@ cpp_valid_state (cpp_reader *r, const char *name, int fd) error: cpp_errno (r, CPP_DL_ERROR, "while reading precompiled header"); - return -1; fail: free (namebuf); |