Commit 792546f6 authored by Giovanni Mascellani's avatar Giovanni Mascellani Committed by Alexandre Julliard

mfmediaengine: Fix a memory leak.

parent 54185c9c
...@@ -1094,6 +1094,8 @@ static HRESULT media_engine_create_topology(struct media_engine *engine, IMFMedi ...@@ -1094,6 +1094,8 @@ static HRESULT media_engine_create_topology(struct media_engine *engine, IMFMedi
IMFMediaTypeHandler_Release(type_handler); IMFMediaTypeHandler_Release(type_handler);
} }
IMFStreamDescriptor_Release(sd);
} }
if (!sd_video && !sd_audio) if (!sd_video && !sd_audio)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment