diff options
author | avi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-07 15:46:44 +0000 |
---|---|---|
committer | avi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-07 15:46:44 +0000 |
commit | 99653c8a9f80d2115fc5b494b7eac7214c0c5a5e (patch) | |
tree | f74dc0eabb5ab187e359b1c8b11b3d3e0a548f0a /chrome/browser | |
parent | a68eb89de4ff00edae2ded98974f1f97667ca402 (diff) | |
download | chromium_src-99653c8a9f80d2115fc5b494b7eac7214c0c5a5e.zip chromium_src-99653c8a9f80d2115fc5b494b7eac7214c0c5a5e.tar.gz chromium_src-99653c8a9f80d2115fc5b494b7eac7214c0c5a5e.tar.bz2 |
Still need to release all top-level objects of a nib.
Review URL: http://codereview.chromium.org/115045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15549 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/cocoa/shell_dialogs_mac.mm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/shell_dialogs_mac.mm b/chrome/browser/cocoa/shell_dialogs_mac.mm index 2cb35aa..2c5a528 100644 --- a/chrome/browser/cocoa/shell_dialogs_mac.mm +++ b/chrome/browser/cocoa/shell_dialogs_mac.mm @@ -248,6 +248,7 @@ NSView* SelectFileDialogImpl::GetAccessoryView(const FileTypeInfo* file_types, topLevelObjects:&objects]; if (!success) return nil; + [objects makeObjectsPerformSelector:@selector(release)]; // This is a one-object nib, but IB insists on creating a second object, the // NSApplication. I don't know why. |