From f30158050f9ca26d9df35964e6f9501e1616aac5 Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Thu, 10 Sep 2009 18:25:50 +0000 Subject: 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 --- chrome/browser/cocoa/download_util_mac_unittest.mm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chrome/browser/cocoa/download_util_mac_unittest.mm') 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 -- cgit v1.1