interaction.c: Don't crash in certain condition

parent 846f0edb
......@@ -609,6 +609,7 @@ static int intf_Send( interaction_t *p_interact,
{
int i;
vlc_bool_t b_found = VLC_FALSE;
if( p_interact == NULL ) return VLC_ENOOBJ;
vlc_mutex_lock( &p_interact->object_lock );
for( i = 0 ; i< p_interact->i_dialogs; i++ )
......
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