Memory leak fixes for ffcall with exceptions being passed from server to

client.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10945 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2001-09-21 15:14:57 +00:00
parent f9dcbd7dbe
commit 93b4c211f7
7 changed files with 148 additions and 64 deletions

View file

@ -169,7 +169,10 @@ _arg_addr(NSInvocation *inv, int index)
#else
#ifdef USE_FFCALL
if (_cframe)
callframe_free((callframe_t *)_cframe);
{
NSZoneFree(NSDefaultMallocZone(), _cframe);
_retval = 0; // Part of _cframe
}
#endif
#endif
if (_argframe)