Commit 20f7abf6 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3dx9: "param" should never be NULL in free_parameter().

parent 0bdae1a0
......@@ -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)
......
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