Commit 63ae92da authored by Jean-Paul Saman's avatar Jean-Paul Saman

mozilla: fix small memory leak

parent 100c91e7
...@@ -1043,6 +1043,7 @@ void LibvlcPlaylistNPObject::parseOptions(NPObject *obj, int *i_options, ...@@ -1043,6 +1043,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