[vlc-devel] commit: qt4: Missing vlc_gc_decref(). (Pierre d'Herbemont )

git version control git at videolan.org
Mon Apr 7 01:55:16 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Mon Apr  7 01:54:21 2008 +0200| [26f3a2e0a8298666d3ded79c2683c21a5ed962b5]

qt4: Missing vlc_gc_decref().

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

 modules/gui/qt4/dialogs_provider.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/dialogs_provider.cpp b/modules/gui/qt4/dialogs_provider.cpp
index 2fc319b..7ba0bf3 100644
--- a/modules/gui/qt4/dialogs_provider.cpp
+++ b/modules/gui/qt4/dialogs_provider.cpp
@@ -356,6 +356,7 @@ static void openDirectory( intf_thread_t *p_intf, bool pl, bool go )
                        go ? ( PLAYLIST_APPEND | PLAYLIST_GO ) : PLAYLIST_APPEND,
                        PLAYLIST_END, pl, VLC_FALSE );
         input_Read( THEPL, p_input, VLC_FALSE );
+        vlc_gc_decref( p_input );
     }
 }
 




More information about the vlc-devel mailing list