From: Rudolf Polzer Date: Thu, 6 Oct 2011 14:35:42 +0000 (+0200) Subject: I think we need to strunzone this or it spams memory every frame X-Git-Tag: xonotic-v0.6.0~40^2~84 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9d646577a0da75ab0ac2309ef82d2e3dc25d6c61;p=xonotic%2Fxonotic-data.pk3dir.git I think we need to strunzone this or it spams memory every frame --- 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; }