MCPcopy Create free account
hub / github.com/Entware/Entware / env_del

Function env_del

scripts/config/preprocess.c:55–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55static void env_del(struct env *e)
56{
57 list_del(&e->node);
58 free(e->name);
59 free(e->value);
60 free(e);
61}
62
63/* The returned pointer must be freed when done */
64static char *env_expand(const char *name)

Callers 1

env_write_depFunction · 0.85

Calls 1

list_delFunction · 0.70

Tested by

no test coverage detected