Commit 99f80c8b by Nathan Sidwell Committed by Nathan Sidwell

* exception.cc (__cp_pop_exception): Cleanup the original object.

From-SVN: r32426
parent 532f12a2
2000-03-08 Nathan Sidwell <nathan@codesourcery.com> 2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
* exception.cc (__cp_pop_exception): Cleanup the original object.
2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
* decl.c (grok_op_properties): Merge conversion to void warning * decl.c (grok_op_properties): Merge conversion to void warning
with other silly op warnings. with other silly op warnings.
......
...@@ -252,10 +252,10 @@ __cp_pop_exception (cp_eh_info *p) ...@@ -252,10 +252,10 @@ __cp_pop_exception (cp_eh_info *p)
if (p->cleanup) if (p->cleanup)
/* 2 is a magic value for destructors; see build_delete(). */ /* 2 is a magic value for destructors; see build_delete(). */
p->cleanup (p->value, 2); p->cleanup (p->original_value, 2); // value may have been adjusted.
if (! __is_pointer (p->type)) if (! __is_pointer (p->type))
__eh_free (p->original_value); // value may have been co-erced. __eh_free (p->original_value); // value may have been adjusted.
__eh_free (p); __eh_free (p);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment