=?UTF-8?Q?Michael=20M=C3=BCller=20?=: wined3d: Don' t leak free_so_statistics_queries on device destruction.

Alexandre Julliard julliard at winehq.org
Tue May 30 16:05:12 CDT 2017


Module: wine
Branch: master
Commit: 93c349c9c77fd66b90145677dfe102b7552fc097
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=93c349c9c77fd66b90145677dfe102b7552fc097

Author: Michael Müller <michael at fds-team.de>
Date:   Mon May 29 10:53:32 2017 +0200

wined3d: Don't leak free_so_statistics_queries on device destruction.

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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);




More information about the wine-cvs mailing list