Minor tidyups

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27583 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2009-01-12 18:42:03 +00:00
parent b830b55dee
commit b06e718ad0
3 changed files with 4 additions and 4 deletions

View file

@ -52,6 +52,6 @@ int main()
NSSetUncaughtExceptionHandler(handler);
[NSException raise: NSGenericException format: @"an exception"];
DESTROY(arp);
IF_NO_GC(DESTROY(arp));
return 0;
}

View file

@ -61,7 +61,7 @@ int counter;
NS_HANDLER
NSLog(@"%@ for thread %d\n", localException, ident);
NS_ENDHANDLER
DESTROY(pool);
IF_NO_GC(DESTROY(pool));
counter--;
[NSThread exit];
}
@ -100,6 +100,6 @@ int main()
fprintf(stderr, "There's a runaway exception! Something is wrong!\n");
NS_ENDHANDLER
fclose(file);
DESTROY(pool);
IF_NO_GC(DESTROY(pool));
return 0;
}

View file

@ -123,7 +123,7 @@ int main(int argc, char **argv, char **env)
{
NSLog(@"ERROR ... retain count is %d, expected 1", [o retainCount]);
}
DESTROY(arp);
IF_NO_GC(DESTROY(arp));
return 0;
}