* except.c (free_exception_table): Do not free NULL.

From-SVN: r34263
This commit is contained in:
Philippe De Muyter 2000-05-30 09:58:30 +02:00 committed by Philippe De Muyter
parent 79368e3fe2
commit d3a36404ba
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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 ();
}