From 8125e561e33276cf80c5146c5fa3020b6f1425b8 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 19 Oct 2012 15:49:21 +0200 Subject: [PATCH] free unused devices after cleaning up interfaces to get rid of recently-freed bridge devices --- config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.c b/config.c index c51e379..98c46b3 100644 --- a/config.c +++ b/config.c @@ -458,7 +458,7 @@ config_init_all(void) device_reset_old(); device_init_pending(); - device_free_unused(NULL); vlist_flush(&interfaces); + device_free_unused(NULL); interface_start_pending(); } -- 2.25.1