mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 17:04:55 +00:00
winegstreamer: Remove redundant NULL check before free().
This commit is contained in:
parent
f715f400dc
commit
7113bef649
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue