From 32db54e4729f7e84e1cbce92000ec280bf7a254a Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Sun, 6 Mar 2016 10:17:09 -0700 Subject: libhb: fix memory leaks --- libhb/reader.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libhb/reader.c') diff --git a/libhb/reader.c b/libhb/reader.c index d91c92c24..78a302d7e 100644 --- a/libhb/reader.c +++ b/libhb/reader.c @@ -327,8 +327,9 @@ static void reader_close( hb_work_object_t * w ) free( r->stream_timing ); } - free( r->fifos ); - free( r ); + free(r->fifos); + free(r->splice_list); + free(r); } static hb_buffer_t * splice_discontinuity( hb_work_private_t *r, hb_buffer_t *buf ) -- cgit v1.2.3