From: fennecdjay Date: Sun, 23 Jun 2019 12:45:00 +0000 (+0200) Subject: :bug: Fix gtmpl X-Git-Tag: nightly~2396 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=5dc8af26266f809c127e4773d555b5178bf08426;p=gwion.git :bug: Fix gtmpl --- diff --git a/src/lib/instr.c b/src/lib/instr.c index 7fa2239b..c9956d5b 100644 --- a/src/lib/instr.c +++ b/src/lib/instr.c @@ -74,7 +74,7 @@ INSTR(GTmpl) { name, tmpl_name, i); const Func base = nspc_lookup_func1(f->value_ref->owner, sym); if(base) { - xfree(tmpl_name); + free_mstr(emit->gwion->mp, tmpl_name); assert(base->code); if(GET_FLAG(base->def, static)) shred->reg -= SZ_INT;