Index: chrome/browser/app_controller_mac_unittest.mm |
=================================================================== |
--- chrome/browser/app_controller_mac_unittest.mm (revision 26039) |
+++ chrome/browser/app_controller_mac_unittest.mm (working copy) |
@@ -12,7 +12,7 @@ |
}; |
TEST_F(AppControllerTest, DockMenu) { |
- AppController* ac = [[AppController alloc] init]; |
+ AppController* ac = [[[AppController alloc] init] autorelease]; |
pink (ping after 24hrs)
2009/09/14 19:13:03
again, this should be a scoped_nsobject.
|
NSMenu* menu = [ac applicationDockMenu:NSApp]; |
NSMenuItem* item; |