This code is leaking...

2011-06-19 Thread Tony Cate
- (NSImage *)illustration { if ( illustrationData != nil ){ NSImage* thisImage = [NSImage new]; NSBitmapImageRep* bitmapImageRep = [[NSBitmapImageRep alloc] initWithData:illustrationData]; NSPICTImageRep* pictImageRep = [[NSPICTImageRep alloc] initWithData:illustratio

[NSMenu _enableItem} crash

2011-05-04 Thread Tony Cate
Reliably: Launch project and get first document window. Close document Main Menu file open second document. Close document Click anywhere on the main menu and the project crashes. Most of the time the stack ends with: 0 objc_msgSend 1 stub helpers 2 [NSMenu _enableItem] Occasionally it consist