]> git.sesse.net Git - vlc/commitdiff
hds: fix memory leak (cid #1224537)
authorTristan Matthews <le.businessman@gmail.com>
Fri, 25 Jul 2014 08:32:11 +0000 (04:32 -0400)
committerTristan Matthews <le.businessman@gmail.com>
Fri, 25 Jul 2014 08:32:11 +0000 (04:32 -0400)
modules/stream_filter/hds/hds.c

index 37ec06a5e796db1206c63b1b6eef6007ecfcd9e3..ae759945ca260c47b14e6826f788bf371d3077c3 100644 (file)
@@ -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;
     }