fix leak (double-retain)

This commit is contained in:
pinkerton%aol.net 2004-10-29 20:36:36 +00:00
parent 34a57689f0
commit 40a7556a7a

View File

@ -349,7 +349,6 @@ const int kMenuTruncationChars = 60;
// since it will be added to and removed from the menu repeatedly
mMenuItem = [[NSMenuItem alloc] initWithTitle:[self label] action:@selector(selectTab:) keyEquivalent:@""];
[mMenuItem setTarget:self];
[mMenuItem retain];
[[self tabView] setAutoresizesSubviews:YES];