Commit d9ab91e2 authored by Srikanth Raju's avatar Srikanth Raju

Core: Remove stray code that releases playlist twice

parent edeb940a
...@@ -1034,7 +1034,6 @@ void libvlc_InternalCleanup( libvlc_int_t *p_libvlc ) ...@@ -1034,7 +1034,6 @@ void libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
/* Free playlist now, all threads are gone */ /* Free playlist now, all threads are gone */
playlist_Destroy( p_playlist ); playlist_Destroy( p_playlist );
/* Free playlist now */
#if defined(MEDIA_LIBRARY) #if defined(MEDIA_LIBRARY)
media_library_t* p_ml = priv->p_ml; media_library_t* p_ml = priv->p_ml;
if( p_ml ) if( p_ml )
...@@ -1045,11 +1044,6 @@ void libvlc_InternalCleanup( libvlc_int_t *p_libvlc ) ...@@ -1045,11 +1044,6 @@ void libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
} }
#endif #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_TimersDumpAll( p_libvlc );
stats_TimersCleanAll( p_libvlc ); stats_TimersCleanAll( p_libvlc );
......
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