Fixed memory leak in w32knapi if it fail found gdihandle table patch by Daniel Zimmermann (netzimme at aim dot com)

See issue #3266 for more details.

svn path=/trunk/; revision=33664
This commit is contained in:
Magnus Olsen 2008-05-23 18:14:15 +00:00
parent 7625429990
commit 3797dab429

View file

@ -87,6 +87,8 @@ WinMain(HINSTANCE hInstance,
GdiHandleTable = MyGdiQueryTable();
if(!GdiHandleTable)
{
FreeLibrary(g_hModule);
printf("GdiHandleTable not found!\n");
return -1;
}