diff --git a/dlls/wined3d/glsl_shader.c b/dlls/wined3d/glsl_shader.c index d33a3ff099d..89b1e030418 100644 --- a/dlls/wined3d/glsl_shader.c +++ b/dlls/wined3d/glsl_shader.c @@ -4503,6 +4503,7 @@ static void shader_glsl_free(IWineD3DDevice *iface) { wine_rb_destroy(&priv->program_lookup, NULL, NULL); constant_heap_free(&priv->pconst_heap); constant_heap_free(&priv->vconst_heap); + HeapFree(GetProcessHeap(), 0, priv->stack); HeapFree(GetProcessHeap(), 0, This->shader_priv); This->shader_priv = NULL;