vtest: free iovec_hash

Previously was being leaked.

Signed-off-by: David Riley <davidriley@chromium.org>
Reviewed-By: Gert Wollny <gert.wollny@collabora.com>
macos/master
David Riley 6 years ago committed by David Riley
parent 4a7eda1669
commit fecb792dd4
  1. 2
      vtest/vtest_renderer.c

@ -291,6 +291,8 @@ void vtest_destroy_renderer(void)
{ {
virgl_renderer_context_destroy(ctx_id); virgl_renderer_context_destroy(ctx_id);
virgl_renderer_cleanup(&renderer); virgl_renderer_cleanup(&renderer);
util_hash_table_destroy(renderer.iovec_hash);
renderer.iovec_hash = NULL;
renderer.input = NULL; renderer.input = NULL;
renderer.out_fd = -1; renderer.out_fd = -1;
} }

Loading…
Cancel
Save