Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- drivers/of/base.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/of/base.c b/drivers/of/base.c index 6c1ccd7..3e91e36 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -761,6 +761,8 @@ void of_free(struct device_node *node) if (!node) return; + list_del(&node->list); + list_for_each_entry_safe(p, pt, &node->properties, list) { list_del(&p->list); free(p->name); -- 1.7.10.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox