[vlc-commits] livehttp: fix memory leak (cid #1048908)
Rémi Duraffort
git at videolan.org
Wed Dec 11 19:24:23 CET 2013
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Dec 11 19:23:40 2013 +0100| [22cfbf6c199243d8f2b30dab1608927c58ca2da5] | committer: Rémi Duraffort
livehttp: fix memory leak (cid #1048908)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=22cfbf6c199243d8f2b30dab1608927c58ca2da5
---
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 5b62a10..5f4c271 100644
--- a/modules/access_output/livehttp.c
+++ b/modules/access_output/livehttp.c
@@ -850,6 +850,7 @@ static ssize_t openNextFile( sout_access_out_t *p_access, sout_access_out_sys_t
if ( unlikely( !segment->psz_filename ) )
{
msg_Err( p_access, "Format segmentpath failed");
+ destroySegment( segment );
return -1;
}
More information about the vlc-commits
mailing list