tb Fix runtime being initialized on every interp_runstring() exec, which causes memory leaks

This commit is contained in:
2025-11-15 22:20:45 +01:00
parent bc53f9746e
commit 55b58bbe22
2 changed files with 2 additions and 1 deletions

View File

@ -189,7 +189,6 @@ bool interp_runstring(char *string, InterpResult **res, bool interactive) {
*res = &RES;
string_memset(RES.errmsg, 0, sizeof(RES.errmsg));
rt_init();
bool ok = true;
char *line = string_tokenizealloc_linecontinue(string, "\n");