diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-10 18:25:50 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-10 18:25:50 +0000 |
commit | f30158050f9ca26d9df35964e6f9501e1616aac5 (patch) | |
tree | 4ed74441dd163aab84e2fc3d05bb11a63a8b4cd2 /chrome/browser/cocoa/download_util_mac_unittest.mm | |
parent | dd5e829ccd6f29b134b336603fd85edd0dd81269 (diff) | |
download | chromium_src-f30158050f9ca26d9df35964e6f9501e1616aac5.zip chromium_src-f30158050f9ca26d9df35964e6f9501e1616aac5.tar.gz chromium_src-f30158050f9ca26d9df35964e6f9501e1616aac5.tar.bz2 |
Attempt to fix memory leak in some mac tests.
Review URL: http://codereview.chromium.org/192061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25884 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/download_util_mac_unittest.mm')
-rw-r--r-- | chrome/browser/cocoa/download_util_mac_unittest.mm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/download_util_mac_unittest.mm b/chrome/browser/cocoa/download_util_mac_unittest.mm index 4369275..0f61704 100644 --- a/chrome/browser/cocoa/download_util_mac_unittest.mm +++ b/chrome/browser/cocoa/download_util_mac_unittest.mm @@ -44,6 +44,8 @@ TEST_F(DownloadUtilTest, AddFileToPasteboardTest) { NSString* expectedPath = [files objectAtIndex:0]; NSString* realPath = base::SysWideToNSString(testPath.ToWStringHack()); EXPECT_TRUE([expectedPath isEqualToString:realPath]); + + [pasteboard releaseGlobally]; } } // namespace |