wined3d: Free priv->stack in shader_glsl_free().
This commit is contained in:
parent
f9e33e9af6
commit
37bdcd6b9b
|
@ -4503,6 +4503,7 @@ static void shader_glsl_free(IWineD3DDevice *iface) {
|
||||||
wine_rb_destroy(&priv->program_lookup, NULL, NULL);
|
wine_rb_destroy(&priv->program_lookup, NULL, NULL);
|
||||||
constant_heap_free(&priv->pconst_heap);
|
constant_heap_free(&priv->pconst_heap);
|
||||||
constant_heap_free(&priv->vconst_heap);
|
constant_heap_free(&priv->vconst_heap);
|
||||||
|
HeapFree(GetProcessHeap(), 0, priv->stack);
|
||||||
|
|
||||||
HeapFree(GetProcessHeap(), 0, This->shader_priv);
|
HeapFree(GetProcessHeap(), 0, This->shader_priv);
|
||||||
This->shader_priv = NULL;
|
This->shader_priv = NULL;
|
||||||
|
|
Loading…
Reference in New Issue