Fix a few leaks

This commit is contained in:
rfm 2025-01-09 10:25:41 +00:00
parent d3603a8e24
commit 5f904d0f79

View file

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