diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-08 01:39:59 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-08 01:39:59 +0000 |
commit | 8b69fd3161fef87bb52b9758aecbd5b53c847e28 (patch) | |
tree | ec6a99a18d967902b1b26648784595f8db34aee0 /webkit/glue/plugins | |
parent | d41c38f83d20cefdf0689d91c974d08ce0b303b6 (diff) | |
download | chromium_src-8b69fd3161fef87bb52b9758aecbd5b53c847e28.zip chromium_src-8b69fd3161fef87bb52b9758aecbd5b53c847e28.tar.gz chromium_src-8b69fd3161fef87bb52b9758aecbd5b53c847e28.tar.bz2 |
Valgrind: Fix leak in PluginList by actually calling Shutdown().
BUG=none
TEST=Valgrind goes green this time.
TBR=bauerb
Review URL: http://codereview.chromium.org/5574005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68550 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins')
-rw-r--r-- | webkit/glue/plugins/plugin_list.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/glue/plugins/plugin_list.cc b/webkit/glue/plugins/plugin_list.cc index 07dfcdd..922f6ce 100644 --- a/webkit/glue/plugins/plugin_list.cc +++ b/webkit/glue/plugins/plugin_list.cc @@ -9,7 +9,6 @@ #include "base/command_line.h" #include "base/lazy_instance.h" #include "base/logging.h" -#include "base/stl_util-inl.h" #include "base/string_split.h" #include "base/string_util.h" #include "base/sys_string_conversions.h" @@ -22,6 +21,7 @@ #include "webkit/glue/webkit_glue.h" #if defined(OS_POSIX) +#include "base/stl_util-inl.h" #include "base/third_party/valgrind/valgrind.h" #endif // defined(OS_POSIX) @@ -713,6 +713,7 @@ void PluginList::DisableOutdatedPluginGroups() { } PluginList::~PluginList() { + Shutdown(); } void PluginList::Shutdown() { |