From: Andrew MacLeod Date: Fri, 23 Oct 1998 16:26:19 +0000 (+0000) Subject: exception.cc (__cp_pop_exception): Free the original exception value, not the potenti... X-Git-Tag: prereleases/libgcj-0.1~2355 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=943767e30c4c566fd6ae1a421f32e37f25bfba04;p=thirdparty%2Fgcc.git exception.cc (__cp_pop_exception): Free the original exception value, not the potentially coerced one. 1998-10-23 Andrew MacLeod * exception.cc (__cp_pop_exception): Free the original exception value, not the potentially coerced one. From-SVN: r23259 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index e5e8def2c4fa..ae7eb528b942 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +1998-10-23 Andrew MacLeod + + * exception.cc (__cp_pop_exception): Free the original exception + value, not the potentially coerced one. + 1998-10-23 Mark Mitchell * Makefile.in (hash.h): Run gperf when necessary. diff --git a/gcc/cp/exception.cc b/gcc/cp/exception.cc index 05b431521ccb..2cc0bc074a88 100644 --- a/gcc/cp/exception.cc +++ b/gcc/cp/exception.cc @@ -233,7 +233,7 @@ __cp_pop_exception (cp_eh_info *p) p->cleanup (p->value, 2); if (! __is_pointer (p->type)) - __eh_free (p->value); + __eh_free (p->original_value); // value may have been co-erced. __eh_free (p); }