ofproto: Fix memory leak in rule_actions_unref().
[sliver-openvswitch.git] / ofproto / ofproto.c
index 1e5319a..f305710 100644 (file)
@@ -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);