diff options
author | Mike Stump <mrs@wrs.com> | 1998-12-04 00:28:34 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-12-03 17:28:34 -0700 |
commit | 0fcff08299c93ab75e5af2c9c88fc2d437c64c68 (patch) | |
tree | 110b6dc685ee9f0842de2dda6c788f9d5ffd6539 /gcc/reg-stack.c | |
parent | 9f643ff81def49d34790b78d4ce68fe2b1bac4c0 (diff) | |
download | gcc-0fcff08299c93ab75e5af2c9c88fc2d437c64c68.zip gcc-0fcff08299c93ab75e5af2c9c88fc2d437c64c68.tar.gz gcc-0fcff08299c93ab75e5af2c9c88fc2d437c64c68.tar.bz2 |
gthr-vxworks.h (__ehdtor): Fix memory leak.
* gthr-vxworks.h (__ehdtor): Fix memory leak. The delete hook
runs in the context of the deleter, not the deletee, so we must
use taskVarGet to find the correct memory to free.
(__gthread_key_create): Initialize the task
variable subsystem so that the task variable is still active when
the delete hook is run.
From-SVN: r24079
Diffstat (limited to 'gcc/reg-stack.c')
0 files changed, 0 insertions, 0 deletions