[vlc-devel] commit: fetcher is a VLC object ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat May 16 13:59:04 CEST 2009


vlc | branch: 1.0-bugfix | Rémi Denis-Courmont <remi at remlab.net> | Sat May 16 14:58:33 2009 +0300| [06c794f9f9a0119c030fbfed0284db24d28566e5] | committer: Rémi Denis-Courmont 

fetcher is a VLC object

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

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

diff --git a/src/playlist/fetcher.c b/src/playlist/fetcher.c
index 6136d4c..b0bacb7 100644
--- a/src/playlist/fetcher.c
+++ b/src/playlist/fetcher.c
@@ -81,7 +81,7 @@ playlist_fetcher_t *playlist_fetcher_New( playlist_t *p_playlist )
                    VLC_THREAD_PRIORITY_LOW ) )
     {
         msg_Err( p_fetcher, "cannot spawn secondary preparse thread" );
-        free( p_fetcher );
+        vlc_object_release( p_fetcher );
         return NULL;
     }
 




More information about the vlc-devel mailing list