Put autorelease pools in place

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3019 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1998-10-03 05:11:05 +00:00
parent f9ea6ad12e
commit 1561ce4134
21 changed files with 63 additions and 0 deletions

View file

@ -1,6 +1,7 @@
#include <stdio.h>
#include <Foundation/NSHashTable.h>
#include <Foundation/NSValue.h>
#include <Foundation/NSAutoreleasePool.h>
int main ()
{
@ -8,6 +9,7 @@ int main ()
NSHashEnumerator he;
int i;
void *v;
NSAutoreleasePool *arp = [NSAutoreleasePool new];
/* Test with ints */
@ -55,5 +57,6 @@ int main ()
NSFreeHashTable (mt);
#endif
[arp release];
exit (0);
}