From b7e5cb7ab91a9487ec71a14b706b5589cefe9052 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 2 Sep 2014 21:25:19 +0200 Subject: [PATCH] fix free after use on shutdown Signed-off-by: John Crispin --- interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface.c b/interface.c index 1b846d1..a4daa24 100644 --- 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_free(iface); + interface_close(iface); } VLIST_TREE(interfaces, avl_strcmp, iface_update_cb, false, false); -- 2.25.1