[ovs-dev] [PATCH 2/2] vswitchd: Fix memory leak in bridge_reconfigure().

Ben Pfaff blp at nicira.com
Mon Sep 21 21:43:42 UTC 2009


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

diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c
index fffc295..b525f3d 100644
--- a/vswitchd/bridge.c
+++ b/vswitchd/bridge.c
@@ -578,6 +578,7 @@ bridge_reconfigure(void)
             VLOG_ERR("bridge %s: problem setting netflow collectors", 
                     br->name);
         }
+        svec_destroy(&nf_hosts);
 
         /* Update the controller and related settings.  It would be more
          * straightforward to call this from bridge_reconfigure_one(), but we
-- 
1.6.3.3





More information about the dev mailing list