git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d01600a
)
bridge: Fix double-free in sFlow configuration.
author
Ben Pfaff
<blp@nicira.com>
Wed, 5 May 2010 17:50:38 +0000
(10:50 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Wed, 5 May 2010 17:50:38 +0000
(10:50 -0700)
vswitchd/bridge.c
patch
|
blob
|
history
diff --git
a/vswitchd/bridge.c
b/vswitchd/bridge.c
index
c883cf5
..
35267a6
100644
(file)
--- a/
vswitchd/bridge.c
+++ b/
vswitchd/bridge.c
@@
-823,7
+823,7
@@
bridge_reconfigure(const struct ovsrec_open_vswitch *ovs_cfg)
}
ofproto_set_sflow(br->ofproto, &oso);
- svec_destroy(&oso.targets);
+ /* Do not destroy oso.targets because it is owned by sflow_cfg. */
} else {
ofproto_set_sflow(br->ofproto, NULL);
}