summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/message_channel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/plugins/ppapi/message_channel.cc')
-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_);
}