]> git.sesse.net Git - vlc/commitdiff
Fix sizeof mismatch
authorRémi Duraffort <ivoire@videolan.org>
Tue, 13 Aug 2013 20:05:17 +0000 (22:05 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Tue, 13 Aug 2013 20:05:17 +0000 (22:05 +0200)
modules/access/vdr.c

index ce83c55d16c7c1eaed7a14a7a4b396446a95a016..c387db432efec5eb802233e86ef216284c3c51ff 100644 (file)
@@ -290,7 +290,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( input_title_t** ) );
+            *ppp_title = malloc( sizeof( input_title_t* ) );
             if( !*ppp_title )
                 return VLC_ENOMEM;
             **ppp_title = vlc_input_title_Duplicate( p_sys->p_marks );