From 6a14bcc824bf8aea4ca806edbfe356356d08f4c8 Mon Sep 17 00:00:00 2001 From: Jeff Zaroyko Date: Sat, 6 Sep 2008 02:17:34 +1000 Subject: [PATCH] wined3d: Add missing HeapFree. --- dlls/wined3d/arb_program_shader.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/wined3d/arb_program_shader.c b/dlls/wined3d/arb_program_shader.c index 7fa88c0c0ab..a8d56331a86 100644 --- a/dlls/wined3d/arb_program_shader.c +++ b/dlls/wined3d/arb_program_shader.c @@ -2897,6 +2897,7 @@ static GLuint gen_arbfp_ffp_shader(struct ffp_settings *settings, IWineD3DStateB FIXME("Vertex program error at position %d: %s\n", pos, debugstr_a((const char *)glGetString(GL_PROGRAM_ERROR_STRING_ARB))); } + HeapFree(GetProcessHeap(), 0, buffer.buffer); return ret; }