MCPcopy Create free account
hub / github.com/codr7/hacktical-c / deinit_env

Function deinit_env

dsl/dsl.c:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66static void deinit_env(struct hc_set *env) {
67 hc_vector_do(&env->items, _it) {
68 struct env_item *it = _it;
69 free(it->key);
70 hc_value_deinit(&it->value);
71 }
72
73 hc_set_deinit(env);
74}
75
76void hc_dsl_deinit(struct hc_dsl *dsl) {
77 deinit_env(&dsl->env);

Callers 1

hc_dsl_deinitFunction · 0.85

Calls 2

hc_value_deinitFunction · 0.85
hc_set_deinitFunction · 0.85

Tested by

no test coverage detected