Fixed coding/decoding autorelease problem.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2949 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1998-09-02 12:34:38 +00:00
parent ffa804ba28
commit 8b48a4f469
8 changed files with 22 additions and 17 deletions

View file

@ -147,9 +147,9 @@ _NSFoundationUncaughtExceptionHandler(NSException *exception)
- (id)initWithCoder: aDecoder
{
self = [super initWithCoder:aDecoder];
e_name = [[aDecoder decodeObject] retain];
e_reason = [[aDecoder decodeObject] retain];
e_info = [[aDecoder decodeObject] retain];
[aDecoder decodeObjectAt: &e_name];
[aDecoder decodeObjectAt: &e_reason];
[aDecoder decodeObjectAt: &e_info];
return self;
}