Commit 96b814ba authored by Laurent Aimar's avatar Laurent Aimar

Fixed a potential interaction dialog leak.

parent f6d917cb
......@@ -155,7 +155,11 @@ __intf_Progress( vlc_object_t *p_this, const char *psz_title,
else
p_new->i_flags = DIALOG_INTF_PROGRESS;
DialogSend( p_new );
if( DialogSend( p_new ) == VLC_EGENERIC )
{
DialogDestroy( p_new );
return NULL;
}
return p_new;
}
......
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