projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
955a712
)
bridge: Fix memory leak in port_configure().
author
Ben Pfaff
<blp@nicira.com>
Tue, 7 Jun 2011 20:19:41 +0000
(13:19 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 7 Jun 2011 20:21:26 +0000
(13:21 -0700)
vswitchd/bridge.c
patch
|
blob
|
history
diff --git
a/vswitchd/bridge.c
b/vswitchd/bridge.c
index 58053056ac04dc48b9e24e8a1b6489bcc6871a67..9868ef5b627e92cfd0f2b786f8eaa0395e37cb88 100644
(file)
--- 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);