Commit 0d927775 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Memory leak

parent df887d84
......@@ -258,7 +258,7 @@ static int AudioAutoMenuBuilder( aout_instance_t *p_object,
#define ACT_ADDMENU( _menu, val, title ) { \
QAction *_action = new QAction( title, _menu ); _action->setData( val ); \
_action->setMenu( new QMenu() ); _menu->addAction( _action ); }
_action->setMenu( new QMenu( _menu ) ); _menu->addAction( _action ); }
#define ACT_ADDCHECK( _menu, val, title ) { \
QAction *_action = new QAction( title, _menu ); _action->setData( val ); \
......
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