[vlc-commits] vdr: really fix sizeof mismatch

Tristan Matthews git at videolan.org
Tue Mar 3 21:35:05 CET 2015


vlc/vlc-2.2 | branch: master | Tristan Matthews <tmatth at videolan.org> | Tue Mar  3 03:15:36 2015 -0500| [169a772addf6ea9fa643ad4e1c8e2771be7080fb] | committer: Jean-Baptiste Kempf

vdr: really fix sizeof mismatch

(cherry picked from commit 6873c2417e1cfa48a659c5d44dcb6f15a9e6a6d1)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=169a772addf6ea9fa643ad4e1c8e2771be7080fb
---

 modules/access/vdr.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/vdr.c b/modules/access/vdr.c
index 6f9ee31..bad2ffd 100644
--- a/modules/access/vdr.c
+++ b/modules/access/vdr.c
@@ -294,7 +294,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
                 return VLC_EGENERIC;
             ppp_title = va_arg( args, input_title_t*** );
             *va_arg( args, int* ) = 1;
-            *ppp_title = malloc( sizeof( *ppp_title ) );
+            *ppp_title = malloc( sizeof( **ppp_title ) );
             if( !*ppp_title )
                 return VLC_ENOMEM;
             **ppp_title = vlc_input_title_Duplicate( p_sys->p_marks );



More information about the vlc-commits mailing list