scrrun: Fix a file enumeration handle leak.
This commit is contained in:
parent
173233cfe3
commit
c47ba3a425
|
@ -644,6 +644,7 @@ static ULONG WINAPI filecoll_enumvariant_Release(IEnumVARIANT *iface)
|
|||
if (!ref)
|
||||
{
|
||||
IFileCollection_Release(&This->data.u.filecoll.coll->IFileCollection_iface);
|
||||
FindClose(This->data.u.filecoll.find);
|
||||
heap_free(This);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue