git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39738 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2016-05-10 17:03:02 +00:00
parent 8c0e83a962
commit 8842de896f
2 changed files with 10 additions and 9 deletions

View file

@ -2252,13 +2252,13 @@ static id gs_weak_load(id obj)
- (id) perform: (SEL)sel with: (id)anObject
{
return [self performSelector:sel withObject:anObject];
return [self performSelector: sel withObject: anObject];
}
- (id) perform: (SEL)sel with: (id)anObject with: (id)anotherObject
{
return [self performSelector:sel withObject:anObject
withObject:anotherObject];
return [self performSelector: sel withObject: anObject
withObject: anotherObject];
}
@end

View file

@ -738,12 +738,13 @@ static NSOperationQueue *mainQueue = nil;
- (void) dealloc
{
[internal->operations release];
[internal->starting release];
[internal->waiting release];
[internal->name release];
[internal->cond release];
[internal->lock release];
[self cancelAllOperations];
DESTROY(internal->operations);
DESTROY(internal->starting);
DESTROY(internal->waiting);
DESTROY(internal->name);
DESTROY(internal->cond);
DESTROY(internal->lock);
GS_DESTROY_INTERNAL(NSOperationQueue);
[super dealloc];
}