[vlc-commits] livehttp: free p_sys->p_seglens if str_format_time fails
Ilkka Ollakka
git at videolan.org
Sun Mar 17 12:29:49 CET 2013
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Sun Mar 17 12:51:19 2013 +0200| [e120873709dd80bd81edbd30aa19fe1f961324db] | committer: Ilkka Ollakka
livehttp: free p_sys->p_seglens if str_format_time fails
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e120873709dd80bd81edbd30aa19fe1f961324db
---
modules/access_output/livehttp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/access_output/livehttp.c b/modules/access_output/livehttp.c
index 90f3bc4..2572324 100644
--- a/modules/access_output/livehttp.c
+++ b/modules/access_output/livehttp.c
@@ -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;
}
More information about the vlc-commits
mailing list