Commit ed3c1eb1 authored by Filippo Carone's avatar Filippo Carone

Set callback list to null on instance init

parent 3b41ca7d
......@@ -99,6 +99,7 @@ libvlc_instance_t * libvlc_new( int argc, char **argv,
p_new->p_libvlc_int = p_libvlc_int;
p_new->p_vlm = NULL;
p_new->b_playlist_locked = 0;
p_new->p_callback_list = NULL;
vlc_mutex_init(p_libvlc_int, &p_new->instance_lock);
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