Commit 49cdb3d1 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Events: cosmetics

parent c09dc8d0
......@@ -148,7 +148,9 @@ void EventObj::deliver(NPP browser)
for( uint32_t n = 0; n < count; n++ )
{
if( NPVARIANT_IS_STRING(params[n]) )
{
NPN_MemFree( (void*) NPVARIANT_TO_STRING(params[n]).UTF8Characters );
}
else if( NPVARIANT_IS_OBJECT(params[n]) )
{
NPN_ReleaseObject( NPVARIANT_TO_OBJECT(params[n]) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment