bug 486621 - Should close file handle in gfxWindowsPlatform::FindFonts() r=vlad

This commit is contained in:
Hiroyuki Ikezoe 2009-04-13 22:49:06 -04:00
parent 36a0869dc8
commit 58ec17ed6b

View File

@ -308,6 +308,8 @@ gfxWindowsPlatform::FindFonts()
AppendFacesFromFontFile(static_cast<const PRUnichar*>(filePath.get()));
moreFiles = FindNextFile(handle, &results);
}
if (handle != INVALID_HANDLE_VALUE)
FindClose(handle);
}
}
}