projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b289ea
)
ofp-print: Fix memory leak printing flow stats replies.
author
Ben Pfaff
<blp@nicira.com>
Fri, 17 Aug 2012 20:59:15 +0000
(13:59 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Fri, 17 Aug 2012 22:11:08 +0000
(15:11 -0700)
Found by valgrind.
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 3f5b6be380e34617623aeb826a9f343a005665f6..99e64564ce41598344b43df10fd96a0de9f64975 100644
(file)
--- a/
lib/ofp-print.c
+++ b/
lib/ofp-print.c
@@
-1044,6
+1044,7
@@
ofp_print_flow_stats_reply(struct ds *string, const struct ofp_header *oh)
ds_put_char(string, '\n');
ofp_print_flow_stats(string, &fs);
}
+ ofpbuf_uninit(&ofpacts);
}
static void