Commit 0a4b70a5 authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

jscript: Fix EnumVARIANT leak in enumerators.

parent 4b3cee0c
......@@ -84,6 +84,8 @@ static void Enumerator_destructor(jsdisp_t *dispex)
TRACE("\n");
if(This->enumvar)
IEnumVARIANT_Release(This->enumvar);
jsval_release(This->item);
free(dispex);
}
......
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