[vlc-commits] playlist preparser: fix input_item_t refcounting

Rafaël Carré git at videolan.org
Mon Aug 8 01:58:29 CEST 2011


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Sun Aug  7 17:14:55 2011 -0400| [48fbfdc8be6e194f72a177e9cd7d33c9799c476b] | committer: Rafaël Carré

playlist preparser: fix input_item_t refcounting

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

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

diff --git a/src/playlist/preparser.c b/src/playlist/preparser.c
index 232d798..d2dbcb5 100644
--- a/src/playlist/preparser.c
+++ b/src/playlist/preparser.c
@@ -219,6 +219,7 @@ static void *Thread( void *data )
         Preparse( p_playlist, p_current );
 
         Art( p_preparser, p_current );
+        vlc_gc_decref(p_current);
     }
     return NULL;
 }



More information about the vlc-commits mailing list