wined3d: Free CS data on CS destruction.
This commit is contained in:
parent
83c3f8c9ed
commit
9c5c3a81ce
|
@ -939,5 +939,6 @@ void wined3d_cs_destroy(struct wined3d_cs *cs)
|
|||
{
|
||||
state_cleanup(&cs->state);
|
||||
HeapFree(GetProcessHeap(), 0, cs->fb.render_targets);
|
||||
HeapFree(GetProcessHeap(), 0, cs->data);
|
||||
HeapFree(GetProcessHeap(), 0, cs);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue