qedit: Drop redundant NULL check before free().

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2020-09-21 22:52:33 +02:00 committed by Alexandre Julliard
parent 55c9849242
commit ad20f4831d
1 changed files with 1 additions and 2 deletions

View File

@ -66,8 +66,7 @@ static void MD_cleanup(MediaDetImpl *This)
This->splitter = NULL;
if (This->graph) IGraphBuilder_Release(This->graph);
This->graph = NULL;
if (This->filename)
free(This->filename);
free(This->filename);
This->filename = NULL;
This->num_streams = -1;
This->cur_stream = 0;