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

Justin Pettit jpettit at nicira.com
Mon Sep 21 23:10:14 UTC 2009


Looks good.

--Justin


On Sep 21, 2009, at 2:43 PM, Ben Pfaff wrote:

> 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
>
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev_openvswitch.org





More information about the dev mailing list