Browse Source

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

pull/2/head
Alibek Omarov 7 years ago
parent
commit
362217935f
  1. 1
      engine/client/cl_gameui.c

1
engine/client/cl_gameui.c

@ -884,6 +884,7 @@ int pfnCheckGameDll( void ) @@ -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…
Cancel
Save