Found by inspection using make check-valgrind.

Signed-off-by: Simon Horman <simon.hor...@netronome.com>
---
 lib/ofp-print.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/ofp-print.c b/lib/ofp-print.c
index 43bfa17..8dc7f06 100644
--- a/lib/ofp-print.c
+++ b/lib/ofp-print.c
@@ -2167,6 +2167,7 @@ ofp_print_group_desc(struct ds *s, const struct 
ofp_header *oh)
         ds_put_char(s, '\n');
         ds_put_char(s, ' ');
         ofp_print_group(s, gd.group_id, gd.type, &gd.buckets);
+        ofputil_bucket_list_destroy(&gd.buckets);
      }
 }
 
@@ -2303,6 +2304,7 @@ ofp_print_group_mod(struct ds *s, const struct ofp_header 
*oh)
     ds_put_char(s, ' ');
 
     ofp_print_group(s, gm.group_id, gm.type, &gm.buckets);
+    ofputil_bucket_list_destroy(&gm.buckets);
 }
 
 static void
-- 
2.1.1

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to