From: Felix Fietkau Date: Fri, 19 Oct 2012 13:49:21 +0000 (+0200) Subject: free unused devices after cleaning up interfaces to get rid of recently-freed bridge... X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8125e561e33276cf80c5146c5fa3020b6f1425b8;p=oweals%2Fnetifd.git free unused devices after cleaning up interfaces to get rid of recently-freed bridge devices --- 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(); }