scrrun: Fix a file enumeration handle leak.

This commit is contained in:
Dmitry Timoshkov 2014-02-10 15:48:35 +09:00 committed by Alexandre Julliard
parent 173233cfe3
commit c47ba3a425
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}