summaryrefslogtreecommitdiff
path: root/ovn
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2016-08-31 12:43:55 -0700
committerBen Pfaff <blp@ovn.org>2016-08-31 12:43:55 -0700
commit7724ed8d640600871998d4dbd383581b65eadc3c (patch)
tree7cb80b481571c4d0aeefb2c04d512bf0976a9be8 /ovn
parenta1491e40293c65c65688dce0c18bead78df0ac91 (diff)
downloadopenvswitch-7724ed8d640600871998d4dbd383581b65eadc3c.tar.gz
expr: Fix memory leak in expr_macros_destroy().
Signed-off-by: Ryan Moats <rmoats@us.ibm.com> [blp@ovn.org split this bug fix out of a larger patch] Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ovn')
-rw-r--r--ovn/lib/expr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ovn/lib/expr.c b/ovn/lib/expr.c
index e0a14ecdd..4ae6b0b6b 100644
--- a/ovn/lib/expr.c
+++ b/ovn/lib/expr.c
@@ -964,6 +964,7 @@ expr_macros_destroy(struct shash *macros)
shash_delete(macros, node);
expr_constant_set_destroy(cs);
+ free(cs);
}
}