Qt4: playlist_item, forgotten dec_ref
authorIlkka Ollakka <ileoo@videolan.org>
Thu, 13 Aug 2009 14:18:12 +0000 (17:18 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Thu, 13 Aug 2009 14:18:19 +0000 (17:18 +0300)
modules/gui/qt4/components/playlist/playlist_item.cpp

index f9e3b8a..2af82d1 100644 (file)
@@ -104,6 +104,7 @@ PLItem::PLItem( playlist_item_t * p_item, QSettings *settings, PLModel *m )
 
 PLItem::~PLItem()
 {
+    vlc_gc_decref( p_input );
     qDeleteAll( children );
     children.clear();
 }