diff options
author | Jarno Rajahalme <jarno@ovn.org> | 2016-07-29 16:52:04 -0700 |
---|---|---|
committer | Jarno Rajahalme <jarno@ovn.org> | 2016-07-29 16:52:04 -0700 |
commit | 75868d0e7deaf01e047109e3b2389d94113eb5b6 (patch) | |
tree | 85e246d605a579238cfc299b0959e6cd00d25fbc /lib/ofp-print.c | |
parent | b475c922740ca30c965503a58d4c689a43b08492 (diff) | |
download | openvswitch-75868d0e7deaf01e047109e3b2389d94113eb5b6.tar.gz |
ofproto: Use ofputil_uninit_group_mod().
Use ofputil_uninit_group_mod() instead of
ofputil_bucket_list_destroy(). Currently these have the same effect,
but this will change in a following patch.
Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'lib/ofp-print.c')
-rw-r--r-- | lib/ofp-print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ofp-print.c b/lib/ofp-print.c index 919c95d64..0b3bf01a0 100644 --- a/lib/ofp-print.c +++ b/lib/ofp-print.c @@ -2586,7 +2586,7 @@ ofp_print_group_desc(struct ds *s, const struct ofp_header *oh) ds_put_char(s, ' '); ofp_print_group(s, gd.group_id, gd.type, &gd.buckets, &gd.props, oh->version, false); - ofputil_bucket_list_destroy(&gd.buckets); + ofputil_uninit_group_desc(&gd); } } @@ -2747,7 +2747,7 @@ ofp_print_group_mod(struct ds *s, const struct ofp_header *oh) return; } ofp_print_group_mod__(s, oh->version, &gm); - ofputil_bucket_list_destroy(&gm.buckets); + ofputil_uninit_group_mod(&gm); } static void |