summaryrefslogtreecommitdiff
path: root/lib/ofp-util.c
diff options
context:
space:
mode:
authorJarno Rajahalme <jarno@ovn.org>2016-07-29 16:52:03 -0700
committerJarno Rajahalme <jarno@ovn.org>2016-07-29 16:52:03 -0700
commitb475c922740ca30c965503a58d4c689a43b08492 (patch)
tree4a8bfc4996c63a64b4620cee313f6e8ef1306edc /lib/ofp-util.c
parent362a2ebb5ba2c105930391ce931558a56474701b (diff)
downloadopenvswitch-b475c922740ca30c965503a58d4c689a43b08492.tar.gz
ofp-util: Do not free() field that is not allocated.
Group properties field array is not dynamically allocated, so it should not be freed. This has not been a problem, as this function has not been called by anyone so far, but following patch will. Signed-off-by: Jarno Rajahalme <jarno@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'lib/ofp-util.c')
-rw-r--r--lib/ofp-util.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/ofp-util.c b/lib/ofp-util.c
index 06b48b8f2..175ae2d88 100644
--- a/lib/ofp-util.c
+++ b/lib/ofp-util.c
@@ -8205,7 +8205,6 @@ void
ofputil_uninit_group_desc(struct ofputil_group_desc *gd)
{
ofputil_bucket_list_destroy(&gd->buckets);
- free(&gd->props.fields);
}
/* Decodes the OpenFlow group description request in 'oh', returning the group