d3dx9: Free string data.

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

View File

@ -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: