From: Ben Pfaff Date: Mon, 21 Sep 2009 20:06:47 +0000 (-0700) Subject: vswitchd: Fix memory leak in bridge_reconfigure(). X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c77dc7705ba162eff9bdd6cfff2e958637bf1a6f;p=openvswitch vswitchd: Fix memory leak in bridge_reconfigure(). Bug #1817. --- diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index fffc2951..b525f3d6 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