X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Feffects%2Fqc%2Fglobalsound.qc;h=8c0dfd5080312fda7d1ed4d10a66a108bdd34075;hb=60b0e81cdaed847a7aac9d234f219937ab9462b2;hp=80f940b91de495f78bd8b7ae8443c95f76753901;hpb=a37048a6daf3238416bb08f870cad260b6dd92b8;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/effects/qc/globalsound.qc b/qcsrc/common/effects/qc/globalsound.qc index 80f940b91..8c0dfd508 100644 --- a/qcsrc/common/effects/qc/globalsound.qc +++ b/qcsrc/common/effects/qc/globalsound.qc @@ -237,8 +237,7 @@ .string fld = it.m_playersoundfld; if (this.(fld)) { - strunzone(this.(fld)); - this.(fld) = string_null; + strfree(this.(fld)); } }); }