summaryrefslogtreecommitdiffstats
path: root/webkit/plugins
diff options
context:
space:
mode:
authordmichael@google.com <dmichael@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-24 20:56:34 +0000
committerdmichael@google.com <dmichael@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-24 20:56:34 +0000
commitf66b530627da51ec85a61258fea0ba8bbce665d9 (patch)
tree0433c5f158586c731a3b2749a140de566bdff5ee /webkit/plugins
parentc68a2102acc20107faa31385e84bcc28cfb92969 (diff)
downloadchromium_src-f66b530627da51ec85a61258fea0ba8bbce665d9.zip
chromium_src-f66b530627da51ec85a61258fea0ba8bbce665d9.tar.gz
chromium_src-f66b530627da51ec85a61258fea0ba8bbce665d9.tar.bz2
Fix my memory leak (yay valgrind bot!)
TEST=test_post_message, trybots BUG=77258 R=brettw@chromium.org,neb@chromium.org Review URL: http://codereview.chromium.org/6733026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79320 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins')
-rw-r--r--webkit/plugins/ppapi/message_channel.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/plugins/ppapi/message_channel.cc b/webkit/plugins/ppapi/message_channel.cc
index 9fdadca..11ff834 100644
--- a/webkit/plugins/ppapi/message_channel.cc
+++ b/webkit/plugins/ppapi/message_channel.cc
@@ -342,6 +342,7 @@ void MessageChannel::PostMessageToNative(PP_Var message_data) {
}
MessageChannel::~MessageChannel() {
+ WebBindings::releaseObject(np_object_);
WebBindings::releaseVariantValue(&onmessage_invoker_);
}