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:
parent
8704c07e4b
commit
362217935f
@ -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() );
|
||||
|
Loading…
Reference in New Issue
Block a user