Commit 99b33932 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

qt: actions_manager: Fix potential leak

parent 2834023f
......@@ -261,6 +261,11 @@ void ActionsManager::onRendererItemAdded(vlc_renderer_item_t* p_item)
VLCMenuBar::rendererMenu->insertAction( firstSeparator, action );
vlc_renderer_item_release( p_item );
delete action;
void ActionsManager::onRendererItemRemoved( vlc_renderer_item_t* p_item )
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