mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +00:00
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:
parent
f9dcbd7dbe
commit
93b4c211f7
7 changed files with 148 additions and 64 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue