From: Pierre d'Herbemont Date: Mon, 7 Apr 2008 20:52:42 +0000 (+0200) Subject: qt4: Don't forget to vlc_gc_decref() the input_item_t once we are done with it in... X-Git-Tag: 0.9.0-test0~1521 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=f809a7d04e7bdbdcedd2b9576410c3282116ed2e;p=vlc qt4: Don't forget to vlc_gc_decref() the input_item_t once we are done with it in OpenDialog::finish(). --- diff --git a/modules/gui/qt4/dialogs/open.cpp b/modules/gui/qt4/dialogs/open.cpp index 0e0b5b2127..d0ed288cda 100644 --- a/modules/gui/qt4/dialogs/open.cpp +++ b/modules/gui/qt4/dialogs/open.cpp @@ -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