[vlc-commits] Qt4 preferences: fix a nice memory leak.

Rémi Duraffort git at videolan.org
Wed Apr 6 11:48:10 CEST 2011


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Apr  6 11:47:33 2011 +0200| [3d3cacbf9c64ccd8a9b57ed719b5df1a5291ed8e] | committer: Rémi Duraffort

Qt4 preferences: fix a nice memory leak.

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

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

diff --git a/modules/gui/qt4/components/complete_preferences.cpp b/modules/gui/qt4/components/complete_preferences.cpp
index 9702c6f..ca96072 100644
--- a/modules/gui/qt4/components/complete_preferences.cpp
+++ b/modules/gui/qt4/components/complete_preferences.cpp
@@ -491,6 +491,7 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
         layout->addWidget( box, i_line, 0, 1, -1 );
     }
 
+    module_config_free( p_config );
     module_release (p_module);
 
     scrolled_area->setSizePolicy( QSizePolicy::Preferred,QSizePolicy::Fixed );



More information about the vlc-commits mailing list