bugfix toml_rtos memleak

This commit is contained in:
luwenpeng
2024-08-23 17:19:05 +08:00
parent a6223eacfe
commit 8db2e70c38
3 changed files with 86 additions and 51 deletions

View File

@@ -627,6 +627,9 @@ void stellar_free(struct stellar *st)
stellar_stat_free(runtime->stat);
STELLAR_LOG_FATAL("stellar exit\n");
log_free();
free(st);
st = NULL;
}
}