diff options
Diffstat (limited to 'webkit/plugins/ppapi/message_channel.cc')
-rw-r--r-- | webkit/plugins/ppapi/message_channel.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/plugins/ppapi/message_channel.cc b/webkit/plugins/ppapi/message_channel.cc index 4e9e82883..cc0026e 100644 --- a/webkit/plugins/ppapi/message_channel.cc +++ b/webkit/plugins/ppapi/message_channel.cc @@ -159,6 +159,7 @@ bool MessageChannelInvoke(NPObject* np_obj, NPIdentifier name, MessageChannel& message_channel(ToMessageChannel(np_obj)); PP_Var argument(NPVariantToPPVar(message_channel.instance(), &args[0])); message_channel.PostMessageToNative(argument); + PpapiGlobals::Get()->GetVarTracker()->ReleaseVar(argument); return true; } // Other method calls we will pass to the passthrough object, if we have one. |