vswitchd: Fix memory leak in bridge_reconfigure().
authorBen Pfaff <blp@nicira.com>
Mon, 21 Sep 2009 20:06:47 +0000 (13:06 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 21 Sep 2009 23:10:44 +0000 (16:10 -0700)
Bug #1817.

vswitchd/bridge.c

index fffc295..b525f3d 100644 (file)
@@ -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