Skip to content

Commit

Permalink
engine: server: fix attempting to free pool instead of an allocated m…
Browse files Browse the repository at this point in the history
…emory
  • Loading branch information
a1batross authored Aug 30, 2023
1 parent 75e5da0 commit 1c9f333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/server/sv_game.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1c9f333

Please sign in to comment.