shell32/tests: Remove redundant NULL check before CoTaskMemFree().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9678045056
commit
0cc6233e20
|
@ -490,7 +490,7 @@ static void check_dropdown_(const char *file, UINT line, IAutoCompleteDropDown *
|
|||
else
|
||||
ok_(file, line)(str == NULL, "Expected (null), got %s\n", wine_dbgstr_w(str));
|
||||
}
|
||||
if (str) CoTaskMemFree(str);
|
||||
CoTaskMemFree(str);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue