[ovs-dev] [5088 1/2] bridge: Memory leak in port_destroy()

Ben Pfaff blp at nicira.com
Tue Mar 22 13:56:49 PDT 2011


On Tue, Mar 22, 2011 at 01:32:38PM -0700, Ethan Jackson wrote:
> --- a/vswitchd/bridge.c
> +++ b/vswitchd/bridge.c
> @@ -4207,6 +4207,7 @@ port_destroy(struct port *port)
>  
>          netdev_monitor_destroy(port->monitor);
>          bitmap_free(port->trunks);
> +        free(port->bond_hash);
>          free(port->name);
>          free(port);

Looks good, thank you.

(How did you notice this?)



More information about the dev mailing list