[vlc-devel] commit: Fix pl_Release() crash with -S ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Feb 4 17:24:35 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Feb  4 18:24:23 2010 +0200| [023c65cf894071643b6975161c1c6c837f8b20d3] | committer: Rémi Denis-Courmont 

Fix pl_Release() crash with -S

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

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

diff --git a/src/libvlc.c b/src/libvlc.c
index 961671b..c59c3b4 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -814,7 +814,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
         while( ( m = strsep( &p, " :," ) ) != NULL )
             playlist_ServicesDiscoveryAdd( p_playlist, m );
         free( psz_modules );
-        pl_Release (p_playlist);
+        pl_Release (p_libvlc);
     }
 
 #ifdef ENABLE_VLM




More information about the vlc-devel mailing list