]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
I think we need to strunzone this or it spams memory every frame
authorRudolf Polzer <divVerent@xonotic.org>
Thu, 6 Oct 2011 14:35:42 +0000 (16:35 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Thu, 6 Oct 2011 14:35:42 +0000 (16:35 +0200)
qcsrc/client/hud.qc

index 3d3fe93cc41ce8ba33a5116c9cde740b1af9c9e3..89bc19d5982a4d3cb4412c64a6281736b8e985c3 100644 (file)
@@ -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;
        }