free error message object
This commit is contained in:
parent
14b7942556
commit
6b6f2892b7
4
src/vm.c
4
src/vm.c
@ -1211,7 +1211,9 @@ NOINLINE void vm_printPos(Comp* comp, i32 bcPos, i64 pos) {
|
||||
if (CATCH) goto native_print;
|
||||
|
||||
B s = emptyCVec();
|
||||
fprintRaw(stderr, vm_fmtPoint(src, s, comp->path, cs, ce));
|
||||
B msg = vm_fmtPoint(src, s, comp->path, cs, ce);
|
||||
fprintRaw(stderr, msg);
|
||||
dec(msg);
|
||||
fputc('\n', stderr);
|
||||
popCatch();
|
||||
return;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user