summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--bridge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge.c b/bridge.c
index c96dcc7..14d4972 100644
--- a/bridge.c
+++ b/bridge.c
@@ -665,6 +665,7 @@ bridge_free(struct device *dev)
bst = container_of(dev, struct bridge_state, dev);
vlist_flush_all(&bst->members);
+ vlist_flush_all(&dev->vlans);
free(bst->config_data);
free(bst);
}