[vlc-commits] Qt: fix memory leak

Hannes Domani git at videolan.org
Wed Oct 21 18:11:04 CEST 2015


vlc/vlc-2.2 | branch: master | Hannes Domani <ssbssa at yahoo.de> | Fri Jul  3 14:34:01 2015 +0200| [d1c15289b977e8507f4105a4aa76cfdaa827f379] | committer: Jean-Baptiste Kempf

Qt: fix memory leak

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
(cherry picked from commit 1637cd913030e5fccf5f5aad37ad0dc22588f8e3)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/gui/qt4/components/preferences_widgets.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/qt4/components/preferences_widgets.cpp b/modules/gui/qt4/components/preferences_widgets.cpp
index da724dc..a79621b 100644
--- a/modules/gui/qt4/components/preferences_widgets.cpp
+++ b/modules/gui/qt4/components/preferences_widgets.cpp
@@ -504,6 +504,7 @@ void setfillVLCConfigCombo( const char *configname, intf_thread_t *p_intf,
             free( texts[i] );
         }
         free( texts );
+        free( values );
     }
 
     if( p_config->psz_longtext != NULL )



More information about the vlc-commits mailing list