Commit c1b832cd authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

quartz: Fix a system clock leak (Valgrind).

parent a1f52a95
......@@ -536,6 +536,8 @@ static void dsound_render_destroy(struct strmbase_filter *iface)
IDirectSound8_Release(filter->dsound);
filter->dsound = NULL;
IUnknown_Release(filter->system_clock);
if (filter->sink.pin.peer)
IPin_Disconnect(filter->sink.pin.peer);
IPin_Disconnect(&filter->sink.pin.IPin_iface);
......
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