[RUNDLL32]

Fix resource leak

CID #716331

svn path=/trunk/; revision=62650
This commit is contained in:
Pierre Schweitzer 2014-04-06 13:01:41 +00:00
parent 6e7450938f
commit ab07d0dfbe

View file

@ -428,6 +428,7 @@ int WINAPI _tWinMain(
if (!RegisterBlankClass(hInstance, hPrevInstance)) if (!RegisterBlankClass(hInstance, hPrevInstance))
{ {
FreeLibrary(hDll);
return 0; return 0;
} }
// Create a window so we can pass a window handle to // Create a window so we can pass a window handle to