mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 00:41:05 +00:00
Fix a few testcase leaks
This commit is contained in:
parent
96a719ae20
commit
3a3a8c47c9
3 changed files with 7 additions and 3 deletions
|
@ -11,7 +11,7 @@ int main(int argc, char **argv)
|
|||
{
|
||||
CREATE_AUTORELEASE_POOL(arp);
|
||||
NSRect f = NSMakeRect(0,0,100,100);
|
||||
NSView *v = [[NSView alloc] initWithFrame: f];
|
||||
NSView *v = AUTORELEASE([[NSView alloc] initWithFrame: f]);
|
||||
int passed = 1;
|
||||
|
||||
if (!NSEqualRects([v visibleRect], f))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue