Commit c3227e18 authored by Jean-Paul Saman's avatar Jean-Paul Saman
Browse files

mozilla: cleanup

parent c2696391
...@@ -1131,7 +1131,7 @@ RuntimeNPObject::InvokeResult LibvlcLogNPObject::setProperty(int index, const NP ...@@ -1131,7 +1131,7 @@ RuntimeNPObject::InvokeResult LibvlcLogNPObject::setProperty(int index, const NP
int verbosity = numberValue(value); int verbosity = numberValue(value);
if( verbosity >= 0 ) if( verbosity >= 0 )
{ {
if( ! p_log ) if( !p_log )
{ {
p_log = libvlc_log_open(p_libvlc, &ex); p_log = libvlc_log_open(p_libvlc, &ex);
if( libvlc_exception_raised(&ex) ) if( libvlc_exception_raised(&ex) )
...@@ -1430,7 +1430,7 @@ RuntimeNPObject::InvokeResult LibvlcPlaylistNPObject::invoke(int index, const NP ...@@ -1430,7 +1430,7 @@ RuntimeNPObject::InvokeResult LibvlcPlaylistNPObject::invoke(int index, const NP
{ {
url = p_plugin->getAbsoluteURL(s); url = p_plugin->getAbsoluteURL(s);
if( url ) if( url )
free(s); free(s);
else else
// problem with combining url, use argument // problem with combining url, use argument
url = s; url = s;
...@@ -1498,7 +1498,7 @@ RuntimeNPObject::InvokeResult LibvlcPlaylistNPObject::invoke(int index, const NP ...@@ -1498,7 +1498,7 @@ RuntimeNPObject::InvokeResult LibvlcPlaylistNPObject::invoke(int index, const NP
free(name); free(name);
for( int i=0; i< i_options; ++i ) for( int i=0; i< i_options; ++i )
{ {
free(ppsz_options[i]); free(ppsz_options[i]);
} }
free(ppsz_options); free(ppsz_options);
...@@ -2169,4 +2169,3 @@ RuntimeNPObject::InvokeResult LibvlcVideoNPObject::invoke(int index, const NPVar ...@@ -2169,4 +2169,3 @@ RuntimeNPObject::InvokeResult LibvlcVideoNPObject::invoke(int index, const NPVar
} }
return INVOKERESULT_GENERIC_ERROR; return INVOKERESULT_GENERIC_ERROR;
} }
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