From: Ben Pfaff Date: Tue, 7 Jun 2011 20:19:41 +0000 (-0700) Subject: bridge: Fix memory leak in port_configure(). X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e51de4c40165c966206809b893e6c9a3f16cbab;p=openvswitch bridge: Fix memory leak in port_configure(). --- diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index 58053056..9868ef5b 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -533,6 +533,7 @@ port_configure(struct port *port) ofproto_bundle_register(port->bridge->ofproto, port, &s); /* Clean up. */ + free(s.slaves); free(s.trunks); free(s.lacp_slaves); free(s.bond_stable_ids);