projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f9d9f2
)
ofp-print-ofctl: Free group buckets.
author
Simon Horman
<simon.horman@netronome.com>
Fri, 31 Oct 2014 08:14:47 +0000
(17:14 +0900)
committer
Ben Pfaff
<blp@nicira.com>
Fri, 31 Oct 2014 21:39:03 +0000
(14:39 -0700)
Found by inspection using make check-valgrind.
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/ofp-print.c
patch
|
blob
|
history
diff --git
a/lib/ofp-print.c
b/lib/ofp-print.c
index
790d586
..
e3a4172
100644
(file)
--- a/
lib/ofp-print.c
+++ b/
lib/ofp-print.c
@@
-2402,6
+2402,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);
}
}
@@
-2542,6
+2543,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 const char *