Add seemingly functional but hacky gc

This commit is contained in:
2022-11-14 22:43:49 -05:00
parent fbc1055659
commit 706b4a586d
9 changed files with 120 additions and 18 deletions

View File

@@ -22,6 +22,7 @@ struct ucl_object *ucl_special_let(struct ucl_state *state, struct ucl_object *a
if (value->type == UCL_TYPE_ERROR) {
// TODO cleanup
ucl_state_delete(let_state);
return value;
}
ucl_state_put(let_state, sym->symbol, value);