diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/except.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 525c8b0..050f4cc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Tue May 30 09:57:32 2000 Philippe De Muyter <phdm@macqel.be> + + * except.c (free_exception_table): Do not free NULL. + 2000-05-29 Zack Weinberg <zack@wolery.cumb.org> * cpplib.c (do_if): Don't save and restore only_seen_white here. diff --git a/gcc/except.c b/gcc/except.c index db9a58f..eb9ad28 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -2297,7 +2297,8 @@ set_exception_version_code (code) void free_exception_table () { - free (eh_table); + if (eh_table) + free (eh_table); clear_function_eh_region (); } |