]> git.sesse.net Git - vlc/commitdiff
vdr: really fix sizeof mismatch
authorTristan Matthews <tmatth@videolan.org>
Tue, 3 Mar 2015 08:15:36 +0000 (03:15 -0500)
committerTristan Matthews <tmatth@videolan.org>
Tue, 3 Mar 2015 08:16:30 +0000 (03:16 -0500)
modules/access/vdr.c

index e268320e22fb7eeedb0bfbdb8c39f5f5c4ff669d..46f709ebc73f72439b24c0f886aae5415ceeb679 100644 (file)
@@ -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 );