]> git.sesse.net Git - vlc/blobdiff - modules/gui/beos/PlayListWindow.cpp
Use pl_Release with the right argument.
[vlc] / modules / gui / beos / PlayListWindow.cpp
index d05036fc196d6b9fee0ee4ea18abb31576ab22e9..dcfc779957ebcfffd31569a2668fadbb39c6a72c 100644 (file)
@@ -294,7 +294,7 @@ PlayListWindow::UpdatePlaylist( bool rebuild )
     p_playlist = pl_Yield( p_intf );
     fListView->SetCurrent( p_playlist->i_index );
     fListView->SetPlaying( p_playlist->status.i_status == PLAYLIST_RUNNING );
-    pl_Release( p_playlist );
+    pl_Release( p_intf );
 
     _CheckItemsEnableState();
 }