Commit cefabfe5 authored by Jean-Paul Saman's avatar Jean-Paul Saman

VAAPI: fix memory leak in vlc_va_destroy_surfaces().

parent 13aa1d4e
......@@ -167,6 +167,8 @@ static void vlc_va_destroy_surfaces( vlc_va_conn_t *conn )
vaDestroySurfaces( conn->p_display, conn->p_surface_ids,
conn->i_surface_count );
free(conn->p_surface_ids );
conn->i_surface_count = 0;
conn->p_surface_ids = NULL;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment