d3dx9: "param" should never be NULL in free_parameter().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0bdae1a0b8
commit
20f7abf667
|
@ -540,9 +540,6 @@ static void free_parameter(struct d3dx_parameter *param, BOOL element, BOOL chil
|
|||
TRACE("Free parameter %p, name %s, type %s, child %s\n", param, param->name,
|
||||
debug_d3dxparameter_type(param->type), child ? "yes" : "no");
|
||||
|
||||
if (!param)
|
||||
return;
|
||||
|
||||
if (param->annotations)
|
||||
{
|
||||
for (i = 0; i < param->annotation_count; ++i)
|
||||
|
|
Loading…
Reference in New Issue