From fecb792dd40b09d88523f6934ec0335fa91ba2ba Mon Sep 17 00:00:00 2001 From: David Riley Date: Wed, 17 Apr 2019 16:18:56 -0700 Subject: [PATCH] vtest: free iovec_hash Previously was being leaked. Signed-off-by: David Riley Reviewed-By: Gert Wollny --- vtest/vtest_renderer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vtest/vtest_renderer.c b/vtest/vtest_renderer.c index 2e4b94a..f5c6115 100644 --- a/vtest/vtest_renderer.c +++ b/vtest/vtest_renderer.c @@ -291,6 +291,8 @@ void vtest_destroy_renderer(void) { virgl_renderer_context_destroy(ctx_id); virgl_renderer_cleanup(&renderer); + util_hash_table_destroy(renderer.iovec_hash); + renderer.iovec_hash = NULL; renderer.input = NULL; renderer.out_fd = -1; }