mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 00:56:43 +00:00
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:
parent
7625429990
commit
3797dab429
1 changed files with 2 additions and 0 deletions
|
@ -87,6 +87,8 @@ WinMain(HINSTANCE hInstance,
|
||||||
GdiHandleTable = MyGdiQueryTable();
|
GdiHandleTable = MyGdiQueryTable();
|
||||||
if(!GdiHandleTable)
|
if(!GdiHandleTable)
|
||||||
{
|
{
|
||||||
|
FreeLibrary(g_hModule);
|
||||||
|
printf("GdiHandleTable not found!\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue