[vlc-commits] Events: cosmetics
Jean-Baptiste Kempf
git at videolan.org
Wed Apr 23 19:28:55 CEST 2014
npapi-vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Apr 23 19:22:50 2014 +0200| [49cdb3d13bed60516edd3aaa94234faa0d11fa5b] | committer: Jean-Baptiste Kempf
Events: cosmetics
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=49cdb3d13bed60516edd3aaa94234faa0d11fa5b
---
npapi/events.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/npapi/events.cpp b/npapi/events.cpp
index d0e4574..58cdc9e 100644
--- a/npapi/events.cpp
+++ b/npapi/events.cpp
@@ -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]) );
More information about the vlc-commits
mailing list