projects
/
openvswitch
/ 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 c883cf54b77e28f03f5523418ec71b00a64c4d46..35267a6c2adea3dd3282c714b27100c1194b3c15 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);
}