Clean up many strdups

This commit is contained in:
2022-11-02 20:36:07 -04:00
parent 9c1a81811c
commit 3b7bef779b
11 changed files with 39 additions and 31 deletions

View File

@@ -37,7 +37,7 @@ struct ucl_object *ucl_nil_create() {
}
struct ucl_object *ucl_t_create() {
return ucl_symbol_create(strdup("t"));
return ucl_symbol_create("t");
}
struct ucl_object *ucl_predicate(bool value) {