Commit 2eb50028 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

wmp: Fix a playlist leak (Valgrind).

parent 2a88c53a
......@@ -2258,6 +2258,8 @@ void destroy_player(WindowsMediaPlayer *wmp)
IWMPControls_stop(&wmp->IWMPControls_iface);
if (wmp->media)
IWMPMedia_Release(&wmp->media->IWMPMedia_iface);
if (wmp->playlist)
IWMPPlaylist_Release(&wmp->playlist->IWMPPlaylist_iface);
DestroyWindow(wmp->msg_window);
}
......
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