[PATCH 2/6] wined3d: Don't leak free_so_statistics_queries on device destruction.
Józef Kucia
jkucia at codeweavers.com
Mon May 29 03:53:32 CDT 2017
From: Michael Müller <michael at fds-team.de>
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
dlls/wined3d/context.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index 49b9186..8ab0e10 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -1336,6 +1336,7 @@ static void context_destroy_gl_resources(struct wined3d_context *context)
checkGLcall("context cleanup");
}
+ HeapFree(GetProcessHeap(), 0, context->free_so_statistics_queries);
HeapFree(GetProcessHeap(), 0, context->free_timestamp_queries);
HeapFree(GetProcessHeap(), 0, context->free_occlusion_queries);
HeapFree(GetProcessHeap(), 0, context->free_event_queries);
--
2.10.2
More information about the wine-patches
mailing list