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

Hugo Beauzée-Luyssen git at videolan.org
Wed Apr 13 17:31:08 CEST 2011


vlc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Wed Apr 13 17:18:25 2011 +0200| [bb91a41bb8820db8c6aeab228ec74f088fcd2bb4] | committer: Jean-Baptiste Kempf

Revert "Qt4 preferences: fix a nice memory leak."

This commits crashes saving preferences
This reverts commit 3d3cacbf9c64ccd8a9b57ed719b5df1a5291ed8e.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/modules/gui/qt4/components/complete_preferences.cpp b/modules/gui/qt4/components/complete_preferences.cpp
index ca96072..9702c6f 100644
--- a/modules/gui/qt4/components/complete_preferences.cpp
+++ b/modules/gui/qt4/components/complete_preferences.cpp
@@ -491,7 +491,6 @@ 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