MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / ofw_prop_destroy

Function ofw_prop_destroy

components/drivers/ofw/base.c:117–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115 return next;
116}
117static void ofw_prop_destroy(struct rt_ofw_prop *prop)
118{
119 struct rt_ofw_prop *next;
120
121 while (prop)
122 {
123 next = prop->next;
124
125 rt_free(prop);
126
127 prop = next;
128 }
129}
130
131static struct rt_ofw_node *ofw_get_next_node(struct rt_ofw_node *prev)
132{

Callers 1

ofw_node_destroyFunction · 0.85

Calls 1

rt_freeFunction · 0.85

Tested by

no test coverage detected