wined3d: Free CS data on CS destruction.

This commit is contained in:
Matteo Bruni 2014-03-05 18:35:20 +01:00 committed by Alexandre Julliard
parent 83c3f8c9ed
commit 9c5c3a81ce
1 changed files with 1 additions and 0 deletions

View File

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