Re: NSBitmapImageRep problem (I think)
Re: NSBitmapImageRep problem (I think)
- Subject: Re: NSBitmapImageRep problem (I think)
- From: Lance Bland <email@hidden>
- Date: Fri, 19 Apr 2002 07:49:11 -0400
On Friday, April 19, 2002, at 07:08 AM, Brian Williams wrote:
- (void)dealloc
{
NSLog(@"dealloc");
[board release];
}
The only error I found in your code was that you did not include a
[super dealloc] in the code above. If that doesn't fix it then it must
be somewhere else.
For example: I don't see where the bitmap rep is added as a rep to a
NSImage instance. The NSImage may not retain your bitmap. It may be
risky to cache boardData because that pointer may change.
-lance
------------------------------------
Lance Bland
mailto:email@hidden
web charts at
http://www.vvi.com/products/chart
_______________________________________________
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.