mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
zero self after dealloc if we are going to call another method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29837 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8344b0e616
commit
63374c948b
4 changed files with 4 additions and 0 deletions
|
@ -297,6 +297,7 @@ static id gs_objc_proxy_lookup(id receiver, SEL op)
|
|||
{
|
||||
/* We should never get here */
|
||||
[self dealloc];
|
||||
self = nil;
|
||||
[NSException raise: NSInternalInconsistencyException
|
||||
format: @"Runtime incorrectly configured to pass argframes"];
|
||||
return nil;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue