Author: greatlrd Date: Fri May 23 13:14:15 2008 New Revision: 33664
URL: http://svn.reactos.org/svn/reactos?rev=33664&view=rev Log: 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.
Modified: trunk/rostests/apitests/w32knapi/w32knapi.c
Modified: trunk/rostests/apitests/w32knapi/w32knapi.c URL: http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/w32knapi/w32knapi... ============================================================================== --- trunk/rostests/apitests/w32knapi/w32knapi.c [iso-8859-1] (original) +++ trunk/rostests/apitests/w32knapi/w32knapi.c [iso-8859-1] Fri May 23 13:14:15 2008 @@ -87,6 +87,8 @@ GdiHandleTable = MyGdiQueryTable(); if(!GdiHandleTable) { + FreeLibrary(g_hModule); + printf("GdiHandleTable not found!\n"); return -1; }