projects
/
oweals
/
mdnsd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4297eef
)
fix free after use on shutdown
author
John Crispin
<blogic@openwrt.org>
Tue, 2 Sep 2014 19:25:19 +0000
(21:25 +0200)
committer
John Crispin
<blogic@openwrt.org>
Tue, 2 Sep 2014 19:25:19 +0000
(21:25 +0200)
Signed-off-by: John Crispin <blogic@openwrt.org>
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index 1b846d12aa00d3c840ba134bd28f43268156d20d..a4daa244add550d386fa9a745974d47aa106db6d 100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-595,7
+595,7
@@
void interface_shutdown(void)
service_reply_a(iface, 0);
}
vlist_for_each_element(&interfaces, iface, node)
- interface_
fre
e(iface);
+ interface_
clos
e(iface);
}
VLIST_TREE(interfaces, avl_strcmp, iface_update_cb, false, false);