Found by valgrind.
Signed-off-by: Ben Pfaff <[email protected]>
---
ofproto/ofproto.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c
index 0ceb85f..bd85104 100644
--- a/ofproto/ofproto.c
+++ b/ofproto/ofproto.c
@@ -2487,6 +2487,7 @@ rule_actions_unref(struct rule_actions *actions)
atomic_sub(&actions->ref_count, 1, &orig);
if (orig == 1) {
+ free(actions->ofpacts);
free(actions);
} else {
ovs_assert(orig != 0);
--
1.7.10.4
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev