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

Unified Diff: content/browser/hyphenator/hyphenator_message_filter_unittest.cc

Issue 10907045: Fix the leaks in TestHyphenatorMessageFilter::OnOpenDictionary(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | tools/heapcheck/suppressions.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/hyphenator/hyphenator_message_filter_unittest.cc
===================================================================
--- content/browser/hyphenator/hyphenator_message_filter_unittest.cc (revision 154883)
+++ content/browser/hyphenator/hyphenator_message_filter_unittest.cc (working copy)
@@ -46,6 +46,7 @@
IPC::PlatformFileForTransit file;
IPC::ParamTraits<IPC::PlatformFileForTransit>::Read(message, &iter, &file);
file_ = IPC::PlatformFileForTransitToPlatformFile(file);
+ delete message;
return true;
}
« no previous file with comments | « no previous file | tools/heapcheck/suppressions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698