mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-12 16:18:01 +00:00
engine: server: fix attempting to free pool instead of an allocated memory
This commit is contained in:
parent
75e5da071c
commit
1c9f333420
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user