[pool release] causes error?
[pool release] causes error?
- Subject: [pool release] causes error?
- From: Daniel Child <email@hidden>
- Date: Sun, 27 Mar 2005 16:29:47 -1000
Hi All,
I must be missing something obvious, but I get a strange error if I try to release the autorelease pool.
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSString *path;
DataParser *dp;
NSMutableArray *theRecords;
NSEnumerator *recsEnum;
path = [@"~/Documents/PROGRAMMING/pangWords.txt" stringByExpandingTildeInPath];
dp = [DataParser parserWithRecordDelim:@"\n"];
theRecords = [dp parseFileAtPath: path];
[pool release]; // causes BAD EXC ACCESS (exits with signal 11 (SIGSEGV))
return 0;
What would cause this? Thanks...
Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden