Commit 8dfb239f authored by Rémi Duraffort's avatar Rémi Duraffort

skins2: fix memory leak

parent 22cfbf6c
......@@ -332,14 +332,14 @@ void Dialogs::showPopupMenu( bool bShow, int popupType = INTF_DIALOG_POPUPMENU )
void Dialogs::showInteraction( interaction_dialog_t *p_dialog )
{
if( m_pProvider && m_pProvider->pf_show_dialog )
{
intf_dialog_args_t *p_arg = (intf_dialog_args_t *)
calloc( 1, sizeof(intf_dialog_args_t) );
p_arg->p_dialog = p_dialog;
p_arg->p_intf = getIntf();
if( m_pProvider && m_pProvider->pf_show_dialog )
{
m_pProvider->pf_show_dialog( m_pProvider, INTF_DIALOG_INTERACTION,
0, p_arg );
}
......
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