mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 04:00:56 +00:00
jscript: Fix EnumVARIANT leak in enumerators.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
This commit is contained in:
parent
4b3cee0c5d
commit
0a4b70a5f6
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue