[ovs-dev] [PATCH 2/2] vswitchd: Fix small memory leak in bridge_init

Justin Pettit jpettit at nicira.com
Tue Apr 6 19:40:24 UTC 2010


---
 vswitchd/bridge.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c
index 7986168..5a64d86 100644
--- a/vswitchd/bridge.c
+++ b/vswitchd/bridge.c
@@ -338,6 +338,7 @@ bridge_init(const struct ovsrec_open_vswitch *cfg)
             }
         }
     }
+    svec_destroy(&bridge_names);
     svec_destroy(&dpif_names);
     svec_destroy(&dpif_types);
 
-- 
1.7.0.3





More information about the dev mailing list