From 9d646577a0da75ab0ac2309ef82d2e3dc25d6c61 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 6 Oct 2011 16:35:42 +0200 Subject: [PATCH] I think we need to strunzone this or it spams memory every frame --- qcsrc/client/hud.qc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 3d3fe93cc..89bc19d59 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -2939,6 +2939,8 @@ void HUD_VoteWindow(void) print(_("^1You must answer before entering hud configure mode\n")); cvar_set("_hud_configure", "0"); } + if(vote_called_vote) + strunzone(vote_called_vote); vote_called_vote = strzone(_("^2Name ^7instead of \"^1Unregistered player^7\" in stats")); uid2name_dialog = 1; } -- 2.39.2