On Dec 10, 2009, at 11:55 PM, Parimal Das wrote:
I must be missing something here.
Can anyone point what is wrong here.
(1) there is no need for an autorelease pool in such a simple -awakeFromNib.
It will be in the context of an autorelease pool to begin with and doesn't
create enough
Hi all,
This is a very simple code. And it is always leaking.
-(void)awakeFromNib {
NSAutoreleasePool* pool = [ [NSAutoreleasePool alloc ] init ];
NSWorkspace* ws = [NSWorkspace sharedWorkspace];
NSString* tempUrl = @http://www.google.com;;
NSURL* myurl = [NSURL