Commit 5a04c819 authored by Hannes Domani's avatar Hannes Domani Committed by Jean-Baptiste Kempf

Qt: fix memory leak

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 97020e0c
......@@ -623,6 +623,8 @@ void ModuleListConfigControl::fillGrid( QGridLayout *l, int line )
ModuleListConfigControl::~ModuleListConfigControl()
{
foreach ( checkBoxListItem *it, modules )
free( it->psz_module );
qDeleteAll( modules );
modules.clear();
delete groupBox;
......
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