*fixed a memory leak.
This commit is contained in:
parent
de9a7edd0f
commit
5215e5cae9
@ -7309,6 +7309,7 @@ int mb_push_string(struct mb_interpreter_t* s, void** l, char* val) {
|
|||||||
arg.type = MB_DT_STRING;
|
arg.type = MB_DT_STRING;
|
||||||
arg.value.string = val;
|
arg.value.string = val;
|
||||||
mb_check(mb_push_value(s, l, arg));
|
mb_check(mb_push_value(s, l, arg));
|
||||||
|
_mark_lazy_destroy_string(s, val);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user