mirror of
https://github.com/openvswitch/ovs
synced 2025-10-23 14:57:06 +00:00
ofp-print-ofctl: Free group buckets.
Found by inspection using make check-valgrind. Signed-off-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user