diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-29 09:49:23 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-29 09:49:23 +0000 |
commit | 0388e90f0664ab4bcd63ffb134d0fa3da1ee7da5 (patch) | |
tree | 610028a55913271a69abf4d597b12ed1df6999c0 /gcc/stmt.c | |
parent | 97dbca2f7c40e761b965b41a6dca852183b8ce2e (diff) | |
download | gcc-0388e90f0664ab4bcd63ffb134d0fa3da1ee7da5.tar.gz |
* except.c (free_eh_nesting_info): Free the info itself.
* function.c (free_after_compilation): Don't free NULL.
* gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
(pre_edge_insert): Free inserted.
* stmt.c (free_stmt_status): Don't free NULL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30255 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r-- | gcc/stmt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c index eeab664f6ce..f47e9fa4507 100644 --- a/gcc/stmt.c +++ b/gcc/stmt.c @@ -559,8 +559,8 @@ free_stmt_status (f) /* We're about to free the function obstack. If we hold pointers to things allocated there, then we'll try to mark them when we do GC. So, we clear them out here explicitly. */ - - free (f->stmt); + if (f->stmt) + free (f->stmt); f->stmt = NULL; } |