First batch of corrections based on David's static analysis.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31337 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2010-09-12 16:34:22 +00:00
parent 26fcda321b
commit d08b23d9b0
15 changed files with 151 additions and 73 deletions

View file

@ -753,7 +753,7 @@ static NSSize scaledIconSizeForSize(NSSize imageSize)
{
NSInvocation *inv;
inv = [[NSInvocation alloc]
inv = [NSInvocation
invocationWithMethodSignature:
[target methodSignatureForSelector: selector]];
[inv setTarget: target];
@ -762,7 +762,6 @@ static NSSize scaledIconSizeForSize(NSSize imageSize)
[NSThread detachNewThreadSelector: @selector(_invokeWithAutoreleasePool:)
toTarget: self
withObject: inv];
RELEASE(inv);
}
/**