Commit c8f1718b authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

playlist: Initialize private members. (oops)

parent fae0cf51
...@@ -70,6 +70,8 @@ playlist_t * playlist_Create( vlc_object_t *p_parent ) ...@@ -70,6 +70,8 @@ playlist_t * playlist_Create( vlc_object_t *p_parent )
return NULL; return NULL;
TAB_INIT( p_playlist->i_sds, p_playlist->pp_sds ); TAB_INIT( p_playlist->i_sds, p_playlist->pp_sds );
MALLOC_NULL( p_playlist->p, playlist_private_t );
memset( p_playlist->p, 0, sizeof( playlist_private_t ) );
libvlc_priv(p_parent->p_libvlc)->p_playlist = p_playlist; libvlc_priv(p_parent->p_libvlc)->p_playlist = p_playlist;
......
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