Commit 3d3cacbf authored by Rémi Duraffort's avatar Rémi Duraffort

Qt4 preferences: fix a nice memory leak.

parent 1b8eea41
...@@ -491,6 +491,7 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -491,6 +491,7 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
layout->addWidget( box, i_line, 0, 1, -1 ); layout->addWidget( box, i_line, 0, 1, -1 );
} }
module_config_free( p_config );
module_release (p_module); module_release (p_module);
scrolled_area->setSizePolicy( QSizePolicy::Preferred,QSizePolicy::Fixed ); scrolled_area->setSizePolicy( QSizePolicy::Preferred,QSizePolicy::Fixed );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment