wined3d: Don't leak free_so_statistics_queries on device destruction.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7955ce42fc
commit
93c349c9c7
|
@ -1336,6 +1336,7 @@ static void context_destroy_gl_resources(struct wined3d_context *context)
|
||||||
checkGLcall("context cleanup");
|
checkGLcall("context cleanup");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HeapFree(GetProcessHeap(), 0, context->free_so_statistics_queries);
|
||||||
HeapFree(GetProcessHeap(), 0, context->free_timestamp_queries);
|
HeapFree(GetProcessHeap(), 0, context->free_timestamp_queries);
|
||||||
HeapFree(GetProcessHeap(), 0, context->free_occlusion_queries);
|
HeapFree(GetProcessHeap(), 0, context->free_occlusion_queries);
|
||||||
HeapFree(GetProcessHeap(), 0, context->free_event_queries);
|
HeapFree(GetProcessHeap(), 0, context->free_event_queries);
|
||||||
|
|
Loading…
Reference in New Issue