projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33f7932
)
delete interfaces from the avl tree on free
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 6 Oct 2011 17:42:24 +0000
(19:42 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 6 Oct 2011 17:42:24 +0000
(19:42 +0200)
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index b8b3fd13fa983ba69d893b026c6b2a54c93ac82f..f7ec520a1dfc0bc3e397023ce9ae48e7c0a56866 100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-196,6
+196,7
@@
interface_do_free(struct interface *iface)
interface_cleanup(iface);
free(iface->config);
netifd_ubus_remove_interface(iface);
+ avl_delete(&interfaces.avl, &iface->node.avl);
free(iface);
}