[vlc-commits] hds: fix memory leak (cid #1224537)
Tristan Matthews
git at videolan.org
Fri Jul 25 10:33:11 CEST 2014
vlc | branch: master | Tristan Matthews <le.businessman at gmail.com> | Fri Jul 25 04:32:11 2014 -0400| [7a1699c28603a4929d0e507e50c1d00fde7c6d84] | committer: Tristan Matthews
hds: fix memory leak (cid #1224537)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7a1699c28603a4929d0e507e50c1d00fde7c6d84
---
modules/stream_filter/hds/hds.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/stream_filter/hds/hds.c b/modules/stream_filter/hds/hds.c
index 37ec06a..ae75994 100644
--- a/modules/stream_filter/hds/hds.c
+++ b/modules/stream_filter/hds/hds.c
@@ -920,6 +920,7 @@ static chunk_t* generate_new_chunk(
if( frun_entry == hds_stream->fragment_run_count )
{
msg_Err( p_this, "Couldn'd find the fragment run!" );
+ chunk_free( chunk );
return NULL;
}
More information about the vlc-commits
mailing list