]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/intf.m
macosx: Make sure right click can select a playlist item.
[vlc] / modules / gui / macosx / intf.m
index 628ef4fc388fb687fb18c67470198dccb993a824..459ca86c22fcfc14a88058deceac9b2f25ab8bce 100644 (file)
@@ -1363,6 +1363,10 @@ static VLCMain *_o_sharedMainInstance = nil;
         }
         vlc_object_release( p_input );
     }
+    else if( p_input )
+    {
+        vlc_object_release( p_input );
+    }
     else
     {
         p_intf->p_sys->i_play_status = END_S;
@@ -1747,9 +1751,12 @@ end:
     if( nib_bookmarks_loaded )
         [o_bookmarks release];
 
-    if( nib_info_loaded )
+    if( o_info )
+    {
+        [o_info stopTimers];
         [o_info release];
-    
+    }
+
     if( nib_wizard_loaded )
         [o_wizard release];