winegstreamer: Remove redundant NULL check before free().

This commit is contained in:
Michael Stefaniuc 2023-11-08 19:30:11 +01:00 committed by Alexandre Julliard
parent f715f400dc
commit 7113bef649

View file

@ -1747,11 +1747,8 @@ static NTSTATUS wg_parser_disconnect(void *args)
for (i = 0; i < ARRAY_SIZE(parser->input_cache_chunks); i++)
{
if (parser->input_cache_chunks[i].data)
{
free(parser->input_cache_chunks[i].data);
parser->input_cache_chunks[i].data = NULL;
}
free(parser->input_cache_chunks[i].data);
parser->input_cache_chunks[i].data = NULL;
}
return S_OK;