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:
rfm 2010-03-04 12:24:43 +00:00
parent 8344b0e616
commit 63374c948b
4 changed files with 4 additions and 0 deletions

View file

@ -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;