mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-08 05:11:51 +08:00
engine: server: fix attempting to free pool instead of an allocated memory
This commit is contained in:
@@ -3227,7 +3227,7 @@ string_t GAME_EXPORT SV_AllocString( const char *szValue )
|
||||
SV_ProcessString( newString, szValue );
|
||||
i = svgame.physFuncs.pfnAllocString( newString );
|
||||
|
||||
Mem_Free( host.mempool );
|
||||
Mem_Free( newString );
|
||||
|
||||
return i;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user