mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 22:47:39 +00:00
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:
parent
26fcda321b
commit
d08b23d9b0
15 changed files with 151 additions and 73 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue