mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 486621 - Should close file handle in gfxWindowsPlatform::FindFonts() r=vlad
This commit is contained in:
parent
36a0869dc8
commit
58ec17ed6b
@ -308,6 +308,8 @@ gfxWindowsPlatform::FindFonts()
|
||||
AppendFacesFromFontFile(static_cast<const PRUnichar*>(filePath.get()));
|
||||
moreFiles = FindNextFile(handle, &results);
|
||||
}
|
||||
if (handle != INVALID_HANDLE_VALUE)
|
||||
FindClose(handle);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user