mfmediaengine: Fix a memory leak.
Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
54185c9c16
commit
792546f612
|
@ -1094,6 +1094,8 @@ static HRESULT media_engine_create_topology(struct media_engine *engine, IMFMedi
|
|||
|
||||
IMFMediaTypeHandler_Release(type_handler);
|
||||
}
|
||||
|
||||
IMFStreamDescriptor_Release(sd);
|
||||
}
|
||||
|
||||
if (!sd_video && !sd_audio)
|
||||
|
|
Loading…
Reference in New Issue