diff options
author | dpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-24 22:23:54 +0000 |
---|---|---|
committer | dpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-24 22:23:54 +0000 |
commit | c16b5958cc9a47992e6c24473258582773036af5 (patch) | |
tree | 31ecf1668a0776c8eac0b1f76a0bbb7c613769fd /webkit/tools | |
parent | bd876a48572f62b919bcc900b06a4187257d500f (diff) | |
download | chromium_src-c16b5958cc9a47992e6c24473258582773036af5.zip chromium_src-c16b5958cc9a47992e6c24473258582773036af5.tar.gz chromium_src-c16b5958cc9a47992e6c24473258582773036af5.tar.bz2 |
Fix double free on exit in test shell.
BUG=none
R=darin@chromium.org
TEST=none
Review URL: http://codereview.chromium.org/652206
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39935 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools')
-rw-r--r-- | webkit/tools/test_shell/test_shell_main.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/webkit/tools/test_shell/test_shell_main.cc b/webkit/tools/test_shell/test_shell_main.cc index 9bfd720..7f48941 100644 --- a/webkit/tools/test_shell/test_shell_main.cc +++ b/webkit/tools/test_shell/test_shell_main.cc @@ -359,17 +359,10 @@ int main(int argc, char* argv[]) { // Flush any remaining messages before we kill ourselves. // http://code.google.com/p/chromium/issues/detail?id=9500 MessageLoop::current()->RunAllPending(); - - delete shell; } else { MessageLoop::current()->Run(); } - // Flush any remaining messages. This ensures that any accumulated - // Task objects get destroyed before we exit, which avoids noise in - // purify leak-test results. - MessageLoop::current()->RunAllPending(); - if (record_mode) base::EventRecorder::current()->StopRecording(); if (playback_mode) |