From 5dc8af26266f809c127e4773d555b5178bf08426 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Sun, 23 Jun 2019 14:45:00 +0200 Subject: [PATCH] :bug: Fix gtmpl --- src/lib/instr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.43.0