projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
datapath: Convert ODP_FLOW_* commands to use AF_NETLINK socket layer.
[openvswitch]
/
utilities
/
ovs-vsctl.c
diff --git
a/utilities/ovs-vsctl.c
b/utilities/ovs-vsctl.c
index 8df0330879121da89423a15021465af34af44b33..c2c67ad8b0bde4fbad1518251d649a596cd8b8a1 100644
(file)
--- a/
utilities/ovs-vsctl.c
+++ b/
utilities/ovs-vsctl.c
@@
-3180,7
+3180,6
@@
do_vsctl(const char *args, struct vsctl_command *commands, size_t n_commands,
for (c = commands; c < &commands[n_commands]; c++) {
struct ds *ds = &c->output;
for (c = commands; c < &commands[n_commands]; c++) {
struct ds *ds = &c->output;
- struct shash_node *node;
if (oneline) {
size_t j;
if (oneline) {
size_t j;
@@
-3207,10
+3206,7
@@
do_vsctl(const char *args, struct vsctl_command *commands, size_t n_commands,
}
ds_destroy(&c->output);
}
ds_destroy(&c->output);
- SHASH_FOR_EACH (node, &c->options) {
- free(node->data);
- }
- shash_destroy(&c->options);
+ smap_destroy(&c->options);
}
free(commands);
}
free(commands);