[PATCH 4/5] d3dx9: Free string data.
Matteo Bruni
mbruni at codeweavers.com
Wed Mar 5 11:35:19 CST 2014
---
dlls/d3dx9_36/effect.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/d3dx9_36/effect.c b/dlls/d3dx9_36/effect.c
index 9a8f727..13f4524 100644
--- a/dlls/d3dx9_36/effect.c
+++ b/dlls/d3dx9_36/effect.c
@@ -561,6 +561,7 @@ static void free_parameter(struct d3dx_parameter *param, BOOL element, BOOL chil
switch (param->type)
{
case D3DXPT_STRING:
+ HeapFree(GetProcessHeap(), 0, *(char **)param->data);
break;
case D3DXPT_TEXTURE:
--
1.8.3.2
More information about the wine-patches
mailing list