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

This commit is contained in:
Henri Verbeet 2009-10-21 10:34:00 +02:00 committed by Alexandre Julliard
parent 42eb516d96
commit fa548414f9
1 changed files with 1 additions and 0 deletions

View File

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