From: Ben Pfaff Date: Mon, 16 May 2011 20:03:49 +0000 (-0700) Subject: bridge: Avoid double-free of bond fake ifaces. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7d790694580d959271fe97d108d9d03d9a89983;p=openvswitch bridge: Avoid double-free of bond fake ifaces. Found by valgrind. --- diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index f0ff91d9..ff2745ef 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -927,7 +927,6 @@ bridge_add_ofproto_ports(struct bridge *br) /* Already exists, nothing to do. */ ofproto_port_destroy(&ofproto_port); } - ofproto_port_destroy(&ofproto_port); } } }