[vlc-commits] commit: Core: Remove stray code that releases playlist twice ( Srikanth Raju )

git at videolan.org git at videolan.org
Sat Jun 26 17:52:19 CEST 2010


vlc | branch: master | Srikanth Raju <srikiraju at gmail.com> | Sat Jun 26 20:25:17 2010 +0530| [d9ab91e21802e278a1741a68364b25f274c23631] | committer: Srikanth Raju 

Core: Remove stray code that releases playlist twice

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d9ab91e21802e278a1741a68364b25f274c23631
---

 src/libvlc.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/src/libvlc.c b/src/libvlc.c
index 9ec04a6..1651430 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -1034,7 +1034,6 @@ void libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
     /* Free playlist now, all threads are gone */
     playlist_Destroy( p_playlist );
 
-    /* Free playlist now */
 #if defined(MEDIA_LIBRARY)
     media_library_t* p_ml = priv->p_ml;
     if( p_ml )
@@ -1045,11 +1044,6 @@ void libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
     }
 #endif
 
-    /* Free playlist */
-    /* Any thread still running must not assume pl_Hold() succeeds. */
-    msg_Dbg( p_libvlc, "removing playlist" );
-    vlc_object_release( p_playlist );
-
     stats_TimersDumpAll( p_libvlc );
     stats_TimersCleanAll( p_libvlc );
 



More information about the vlc-commits mailing list