mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 22:28:30 +00:00
d3dx9: Remove redundant NULL check before heap_free().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
98e240c6a6
commit
a0a5c64bd5
|
@ -580,9 +580,7 @@ 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);
|
||||
|
||||
heap_free(param->full_name);
|
||||
free_parameter_data(param, child);
|
||||
|
||||
/* only the parent has to release name and semantic */
|
||||
|
|
Loading…
Reference in a new issue