This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: mem leak fix for VxWorks EH
- To: mrs at wrs dot com (Mike Stump)
- Subject: Re: mem leak fix for VxWorks EH
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 04 Dec 1998 01:27:13 -0700
- cc: egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199812031927.LAA20204@kankakee.wrs.com>you write:
> Thu Dec 3 11:19:50 1998 Mike Stump <mrs@wrs.com>
>
> * 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.
Thanks. Installed.
jeff