wined3d: Free priv->stack in shader_glsl_free().

This commit is contained in:
Henri Verbeet 2009-06-04 10:16:20 +02:00 committed by Alexandre Julliard
parent f9e33e9af6
commit 37bdcd6b9b
1 changed files with 1 additions and 0 deletions

View File

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