exception.cc (__cp_pop_exception): Free the original exception value, not the potentially coerced one.
1998-10-23 Andrew MacLeod <amacleod@cygnus.com> * exception.cc (__cp_pop_exception): Free the original exception value, not the potentially coerced one. From-SVN: r23259
This commit is contained in:
parent
91063b5138
commit
943767e30c
|
@ -1,3 +1,8 @@
|
|||
1998-10-23 Andrew MacLeod <amacleod@cygnus.com>
|
||||
|
||||
* exception.cc (__cp_pop_exception): Free the original exception
|
||||
value, not the potentially coerced one.
|
||||
|
||||
1998-10-23 Mark Mitchell <mark@markmitchell.com>
|
||||
|
||||
* Makefile.in (hash.h): Run gperf when necessary.
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue