summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
Diffstat (limited to 'libhb')
-rw-r--r--libhb/reader.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libhb/reader.c b/libhb/reader.c
index cc9836290..bb3af1945 100644
--- a/libhb/reader.c
+++ b/libhb/reader.c
@@ -327,6 +327,12 @@ static void reader_close( hb_work_object_t * w )
free( r->stream_timing );
}
+ int ii;
+ for (ii = 0; ii < r->splice_list_size; ii++)
+ {
+ hb_buffer_list_close(&r->splice_list[ii].list);
+ }
+
free(r->fifos);
free(r->splice_list);
free(r);