mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-09 05:41:46 +08:00
Don't increase server library reference counter, free it pfnCheckGameDll
This commit is contained in:
@@ -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() );
|
||||
|
||||
Reference in New Issue
Block a user