Commit f19a0fb6 authored by Bernhard Kölbl's avatar Bernhard Kölbl Committed by Alexandre Julliard

mf: Don't leak sink in session_get_renderer_node_service().

parent bea37208
......@@ -2397,6 +2397,7 @@ static HRESULT session_get_renderer_node_service(struct media_session *session,
if (FAILED(hr = MFGetService((IUnknown *)sink, service, riid, obj)))
WARN("Failed to get service from renderer node, %#lx.\n", hr);
}
IMFMediaSink_Release(sink);
}
IMFStreamSink_Release(stream_sink);
}
......
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