Commit f4fef7ff authored by Jean-Paul Saman's avatar Jean-Paul Saman

mozilla: fix small memory leak

(cherry picked from commit 63ae92da20faa6dafa8fa4dc808bb27ad2bcb455)
parent b95873c5
...@@ -1085,6 +1085,7 @@ void LibvlcPlaylistNPObject::parseOptions(NPObject *obj, int *i_options, ...@@ -1085,6 +1085,7 @@ void LibvlcPlaylistNPObject::parseOptions(NPObject *obj, int *i_options,
} }
options[nOptions++] = stringValue(value); options[nOptions++] = stringValue(value);
NPN_ReleaseVariantValue(&value);
} }
*i_options = nOptions; *i_options = nOptions;
*ppsz_options = options; *ppsz_options = options;
......
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