[vlc-devel] commit: playlist: Initialize private members. (oops) (Pierre d'Herbemont )
git version control
git at videolan.org
Sun Aug 31 12:21:52 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sun Aug 31 12:24:38 2008 +0200| [c8f1718b12e0678e57f859ab1d0bf9fa8b060c6e] | committer: Pierre d'Herbemont
playlist: Initialize private members. (oops)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c8f1718b12e0678e57f859ab1d0bf9fa8b060c6e
---
src/playlist/engine.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/playlist/engine.c b/src/playlist/engine.c
index d0d4c33..15574bc 100644
--- a/src/playlist/engine.c
+++ b/src/playlist/engine.c
@@ -70,6 +70,8 @@ playlist_t * playlist_Create( vlc_object_t *p_parent )
return NULL;
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;
More information about the vlc-devel
mailing list