Commit 83c3f8c9 authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

d3dx9: Free string data.

parent 596557a5
...@@ -561,6 +561,7 @@ static void free_parameter(struct d3dx_parameter *param, BOOL element, BOOL chil ...@@ -561,6 +561,7 @@ static void free_parameter(struct d3dx_parameter *param, BOOL element, BOOL chil
switch (param->type) switch (param->type)
{ {
case D3DXPT_STRING: case D3DXPT_STRING:
HeapFree(GetProcessHeap(), 0, *(char **)param->data);
break; break;
case D3DXPT_TEXTURE: case D3DXPT_TEXTURE:
......
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