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:
Andrew MacLeod 1998-10-23 16:26:19 +00:00 committed by Andrew Macleod
parent 91063b5138
commit 943767e30c
2 changed files with 6 additions and 1 deletions

View File

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

View File

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