mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-11 01:30:55 +08:00
* exception.cc (__cp_pop_exception): Cleanup the original object.
From-SVN: r32426
This commit is contained in:
parent
532f12a24c
commit
99f80c8bcd
@ -1,3 +1,7 @@
|
||||
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
|
||||
|
@ -252,10 +252,10 @@ __cp_pop_exception (cp_eh_info *p)
|
||||
|
||||
if (p->cleanup)
|
||||
/* 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))
|
||||
__eh_free (p->original_value); // value may have been co-erced.
|
||||
__eh_free (p->original_value); // value may have been adjusted.
|
||||
|
||||
__eh_free (p);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user