1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 20:06:18 +00:00

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

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;