mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 03:58:33 +08:00
fix memory leak of code_id
This commit is contained in:
parent
76de231ed6
commit
2c49e854a7
@ -730,6 +730,7 @@ static ret_t fscript_parser_init(fscript_parser_t* parser, tk_object_t* obj, con
|
||||
|
||||
static ret_t fscript_parser_deinit(fscript_parser_t* parser) {
|
||||
str_reset(&(parser->temp));
|
||||
TKMEM_FREE(parser->code_id);
|
||||
fscript_func_call_destroy(parser->first);
|
||||
return RET_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user