Commit 9c5c3a81 authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

wined3d: Free CS data on CS destruction.

parent 83c3f8c9
......@@ -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);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment