[PATCH 5/5] wined3d: Free CS data on CS destruction.
Matteo Bruni
mbruni at codeweavers.com
Wed Mar 5 11:35:20 CST 2014
---
dlls/wined3d/cs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/wined3d/cs.c b/dlls/wined3d/cs.c
index 4d7c76e..9288b94 100644
--- a/dlls/wined3d/cs.c
+++ b/dlls/wined3d/cs.c
@@ -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);
}
--
1.8.3.2
More information about the wine-patches
mailing list