shell32/tests: Remove redundant NULL check before CoTaskMemFree().

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Michael Stefaniuc 2018-12-03 21:40:31 +01:00 committed by Alexandre Julliard
parent 9678045056
commit 0cc6233e20
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}