]> git.sesse.net Git - vlc/commitdiff
livehttp: free p_sys->p_seglens if str_format_time fails
authorIlkka Ollakka <ileoo@videolan.org>
Sun, 17 Mar 2013 10:51:19 +0000 (12:51 +0200)
committerIlkka Ollakka <ileoo@videolan.org>
Sun, 17 Mar 2013 11:29:12 +0000 (13:29 +0200)
modules/access_output/livehttp.c

index 90f3bc448ecd725f83e71336fc22d0cb80530949..257232411c02344fd70f9572e7af312285034cd7 100644 (file)
@@ -204,6 +204,7 @@ static int Open( vlc_object_t *p_this )
         free( psz_idx );
         if ( !psz_tmp )
         {
+            free( p_sys->p_seglens );
             free( p_sys );
             return VLC_ENOMEM;
         }