Michael Müller : wined3d: Don' t leak free_so_statistics_queries on device destruction.
Module: wine Branch: master Commit: 93c349c9c77fd66b90145677dfe102b7552fc097 URL: http://source.winehq.org/git/wine.git/?a=commit;h=93c349c9c77fd66b90145677df... Author: Michael Müller <michael(a)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(a)codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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);
participants (1)
-
Alexandre Julliard