2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-28 04:51:25 +01:00

Don't increase server library reference counter, free it pfnCheckGameDll

This commit is contained in:
Alibek Omarov 2018-04-22 13:01:06 +03:00
parent 8704c07e4b
commit 362217935f

View File

@ -884,6 +884,7 @@ int pfnCheckGameDll( void )
COM_ResetLibraryError();
if(( hInst = COM_LoadLibrary( SI.gamedll, true, false )) != NULL )
{
COM_FreeLibrary( hInst ); // don't increase linker's reference counter
return true;
}
MsgDev( D_WARN, "Could not load server library:\n%s", COM_GetLibraryError() );