Commit fa548414 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Free the shader buffer in shader_glsl_free() (Valgrind).

parent 42eb516d
......@@ -4589,6 +4589,7 @@ static void shader_glsl_free(IWineD3DDevice *iface) {
constant_heap_free(&priv->pconst_heap);
constant_heap_free(&priv->vconst_heap);
HeapFree(GetProcessHeap(), 0, priv->stack);
shader_buffer_free(&priv->shader_buffer);
HeapFree(GetProcessHeap(), 0, This->shader_priv);
This->shader_priv = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment