d3dx9: Release the full parameter name when a parameter is released (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
cb837a5504
commit
63443f249f
|
@ -581,6 +581,9 @@ static void free_parameter(struct d3dx_parameter *param, BOOL element, BOOL chil
|
|||
HeapFree(GetProcessHeap(), 0, param->members);
|
||||
}
|
||||
|
||||
if (param->full_name)
|
||||
heap_free(param->full_name);
|
||||
|
||||
free_parameter_data(param, child);
|
||||
|
||||
/* only the parent has to release name and semantic */
|
||||
|
|
Loading…
Reference in New Issue