Frédéric Delanoy frederic.delanoy@gmail.com writes:
@@ -27,9 +27,13 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmds
HMODULE hModule;
DOWINMAIN *doWinMain;
- return doWinMain(hInst, cmdline);
- res = doWinMain(hInst, cmdline);
- FreeLibrary(hModule);
- return res;
Freeing things on process exit is not useful.
--
Alexandre Julliard
julliard@winehq.org