Commit a0a5c64b authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

d3dx9: Remove redundant NULL check before heap_free().

parent 98e240c6
......@@ -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 */
......
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