From 31cf4e5b109ebf6ed40a2480a9e14a027d5e069b Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Sun, 24 Jan 2021 03:03:36 +0100 Subject: [PATCH] Client: Fix double free properly for Vox_Shutdown --- src/client/vox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/vox.c b/src/client/vox.c index 7743ec9b..c21e68bd 100644 --- a/src/client/vox.c +++ b/src/client/vox.c @@ -61,7 +61,7 @@ Vox_Update(void) void Vox_Shutdown(void) { - if (g_voxque) + if (g_voxcount) memfree(g_voxque); g_voxcount = 0;