bridge: Fix memory leak in port_configure().
authorBen Pfaff <blp@nicira.com>
Tue, 7 Jun 2011 20:19:41 +0000 (13:19 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 7 Jun 2011 20:21:26 +0000 (13:21 -0700)
vswitchd/bridge.c

index 58053056ac04dc48b9e24e8a1b6489bcc6871a67..9868ef5b627e92cfd0f2b786f8eaa0395e37cb88 100644 (file)
@@ -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);