NSFont leak verified in 10.2
NSFont leak verified in 10.2
- Subject: NSFont leak verified in 10.2
- From: Charles Bennett <email@hidden>
- Date: Mon, 26 Aug 2002 13:59:54 -0400
NSFont *font = [NSFont fontWithName:@"Arial" size:12];
NSFont is 'supposed' to cache multiple requests for font objects that
have the same name and size per the NSFont docs..
I moved the same project back to 10.1.5
and as expected each call returns the same pointer..
Same code in 10.2 leaks like crazy.
Workaround: Better keep your own cache, or alloc them once at init..
Headed to bug reporter now..
Chuck
--
UPS Management software for OS X
http://www.powerguardian.com
_______________________________________________
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.