]> git.sesse.net Git - vlc/commitdiff
qt4: Don't forget to vlc_gc_decref() the input_item_t once we are done with it in...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 7 Apr 2008 20:52:42 +0000 (22:52 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 7 Apr 2008 20:52:59 +0000 (22:52 +0200)
modules/gui/qt4/dialogs/open.cpp

index 0e0b5b212761ce29d1b35af7ad5b2e565e4017d3..d0ed288cdad48183ae0db57765e4041f3030cbdf 100644 (file)
@@ -314,6 +314,7 @@ void OpenDialog::finish( bool b_enqueue = false )
             playlist_AddInput( THEPL, p_input,
                 PLAYLIST_APPEND | ( b_start ? PLAYLIST_GO : PLAYLIST_PREPARSE ),
                 PLAYLIST_END, VLC_TRUE, VLC_FALSE );
+            vlc_gc_decref( p_input );
         }
     }
     else