recirc_id_pool_create() allocates memory but recirc_id_pool_destroy() did not destroy it.
Found by valgrind. Signed-off-by: Ben Pfaff <b...@nicira.com> --- ofproto/ofproto-dpif-rid.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ofproto/ofproto-dpif-rid.c b/ofproto/ofproto-dpif-rid.c index 9e7e9a3..b3d98eb 100644 --- a/ofproto/ofproto-dpif-rid.c +++ b/ofproto/ofproto-dpif-rid.c @@ -70,6 +70,7 @@ recirc_id_pool_destroy(struct recirc_id_pool *pool) { rid_pool_uninit(&pool->rids); ovs_mutex_destroy(&pool->lock); + free(pool); } uint32_t -- 1.9.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev