Commit dcd8b628 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix potential NULL pointer dereference.

parent 93baedd3
......@@ -896,11 +896,10 @@ input_item_t *input_item_Copy( vlc_object_t *p_obj, input_item_t *p_input )
p_input->ppsz_options[i],
p_input->optflagv[i] );
}
p_new_input->p_meta = vlc_meta_New();
vlc_meta_Merge( p_new_input->p_meta, p_input->p_meta );
}
p_new_input->p_meta = vlc_meta_New();
vlc_meta_Merge( p_new_input->p_meta, p_input->p_meta );
vlc_mutex_unlock( &p_input->lock );
return p_new_input;
......
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