mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 11:33:38 +00:00
msvcrt/tests: Remove redundant NULL check before free().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b95cc68894
commit
2d9e89a80f
|
@ -1101,8 +1101,7 @@ static void test_demangle_datatype(void)
|
|||
name = p__unDName(0, demangle[i].mangled, 0, malloc, free, 0x2800);
|
||||
todo_wine_if (!demangle[i].test_in_wine)
|
||||
ok(name != NULL && !strcmp(name,demangle[i].result), "Got name \"%s\" for %d\n", name, i);
|
||||
if(name)
|
||||
free(name);
|
||||
free(name);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue