summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-05 01:22:26 +0000
committerfbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-05 01:22:26 +0000
commitc18f236f8df52c2724612fc01170a9f6e2c8fd7d (patch)
treea9aa3230c86ea13c8cc68ec7737421c71e837f40
parent14957ae1436c813ac096bb709861ebb03087b5b3 (diff)
downloadchromium_src-c18f236f8df52c2724612fc01170a9f6e2c8fd7d.zip
chromium_src-c18f236f8df52c2724612fc01170a9f6e2c8fd7d.tar.gz
chromium_src-c18f236f8df52c2724612fc01170a9f6e2c8fd7d.tar.bz2
Add a command line reset to clean up memory leak found by valgrind.
BUG=25945 TEST=valgrind --tool=memcheck --num-callers=30 --leak-check=full --gen-suppressions=all --demangle=no out/Debug/media_bench --stream=video ~/media/color2.mp4 Review URL: http://codereview.chromium.org/363016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31055 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--media/bench/bench.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/bench/bench.cc b/media/bench/bench.cc
index 529e03f..03e1294 100644
--- a/media/bench/bench.cc
+++ b/media/bench/bench.cc
@@ -539,5 +539,6 @@ int main(int argc, const char** argv) {
return 1;
}
#endif
+ CommandLine::Reset();
return 0;
}