From: Pierre d'Herbemont Date: Tue, 8 Jul 2008 20:57:05 +0000 (+0200) Subject: macosx: The playlist is unlocked at this time, so playlist_Control() needs to lock it. X-Git-Tag: 0.9.0-test2~106 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=adec5472ece528e16c993ab60a7aeac34e2bb967;p=vlc macosx: The playlist is unlocked at this time, so playlist_Control() needs to lock it. This fixes an input and input item leak. IMHO, such typo are so easy, we need to fix that up. (macosx module is full of those). --- diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m index 6fe2531aed..9be1f6b2a2 100644 --- a/modules/gui/macosx/playlist.m +++ b/modules/gui/macosx/playlist.m @@ -720,7 +720,7 @@ p_item = NULL; } } - playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, true, p_node, p_item ); + playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, false, p_node, p_item ); } vlc_object_release( p_playlist ); }