projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ovs-ofctl: Fix memory leak in "check-vlan" test command.
[openvswitch]
/
utilities
/
ovs-ofctl.c
diff --git
a/utilities/ovs-ofctl.c
b/utilities/ovs-ofctl.c
index dd5f4ba1f99047bda6afae22a579502ed0a37602..622e32f3b227f84bbbef5848eda602b73e7b4a82 100644
(file)
--- a/
utilities/ovs-ofctl.c
+++ b/
utilities/ovs-ofctl.c
@@
-2615,6
+2615,7
@@
ofctl_check_vlan(int argc OVS_UNUSED, char *argv[])
printf("%04"PRIx16"/%04"PRIx16"\n",
ntohs(fm.cr.flow.vlan_tci),
ntohs(fm.cr.wc.vlan_tci_mask));
+ free(string_s);
/* Convert to and from NXM. */
ofpbuf_init(&nxm, 0);