HELP!!! Memory Leak I can't find in (BOOL)application:(NSApplication *)sender openFile:
HELP!!! Memory Leak I can't find in (BOOL)application:(NSApplication *)sender openFile:
- Subject: HELP!!! Memory Leak I can't find in (BOOL)application:(NSApplication *)sender openFile:
- From: Chris Roberts <email@hidden>
- Date: Thu, 4 Apr 2002 12:19:43 -0700
After Reading around and lurking here and other places I found that the
Drag-N-Drop and Double-Click doc to launch was passed by the following
code but....
When I use this code using a Drag-N-drop or launch from doc my Method
LoadInfo:(NSString *)filename runs then the app exits with a sig
11(crash) my method works great from a NSOpen but... My guess is I have
not created a release that I should have but where and what HELP!
- (BOOL)application:(NSApplication *)sender openFile:(NSString *)filename
{
[filename autorelease];
[self LoadInfo:filename];
return YES;
}
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.