Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(402)

Unified Diff: chrome/browser/cocoa/download_util_mac_unittest.mm

Issue 192061: Attempt to fix memory leak in some mac tests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/cocoa/web_drop_target_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/download_util_mac_unittest.mm
===================================================================
--- chrome/browser/cocoa/download_util_mac_unittest.mm (revision 25834)
+++ chrome/browser/cocoa/download_util_mac_unittest.mm (working copy)
@@ -44,6 +44,8 @@
NSString* expectedPath = [files objectAtIndex:0];
NSString* realPath = base::SysWideToNSString(testPath.ToWStringHack());
EXPECT_TRUE([expectedPath isEqualToString:realPath]);
+
+ [pasteboard releaseGlobally];
}
} // namespace
« no previous file with comments | « no previous file | chrome/browser/cocoa/web_drop_target_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698