Commit 62e75b3f authored by Rémi Duraffort's avatar Rémi Duraffort

Don't mix malloc and delete.

parent 566e4c08
...@@ -471,7 +471,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -471,7 +471,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
else if( strstr( psz_intf, "qt" ) ) else if( strstr( psz_intf, "qt" ) )
ui.qt4->setChecked( true ); ui.qt4->setChecked( true );
} }
delete psz_intf; free( psz_intf );
optionWidgets.append( ui.skins ); optionWidgets.append( ui.skins );
optionWidgets.append( ui.qt4 ); optionWidgets.append( ui.qt4 );
......
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