mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Fix a few leaks
This commit is contained in:
parent
d3603a8e24
commit
5f904d0f79
1 changed files with 13 additions and 1 deletions
|
@ -123,6 +123,12 @@
|
|||
return proxy;
|
||||
}
|
||||
|
||||
- (void) dealloc
|
||||
{
|
||||
DESTROY(key);
|
||||
DEALLOC
|
||||
}
|
||||
|
||||
- (id) initWithKey: (NSString *)aKey ofObject: (id)anObject
|
||||
{
|
||||
if ((self = [super init]) != nil)
|
||||
|
@ -278,7 +284,7 @@
|
|||
[addSetInvocation release];
|
||||
[removeObjectInvocation release];
|
||||
[addObjectInvocation release];
|
||||
[super dealloc];
|
||||
DEALLOC
|
||||
}
|
||||
|
||||
- (void) addObject: (id)anObject
|
||||
|
@ -448,6 +454,12 @@
|
|||
withCapitalizedKey: capitalized] autorelease];
|
||||
}
|
||||
|
||||
- (void) dealloc
|
||||
{
|
||||
DESTROY(setSetInvocation);
|
||||
DEALLOC
|
||||
}
|
||||
|
||||
- (id) initWithKey: (NSString *)aKey ofObject: (id)anObject
|
||||
withCapitalizedKey: (const char *)capitalized;
|
||||
|
||||
|
|
Loading…
Reference in a new issue