diff options
author | John Stebbins <[email protected]> | 2016-03-06 10:17:09 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-03-06 10:17:09 -0700 |
commit | 32db54e4729f7e84e1cbce92000ec280bf7a254a (patch) | |
tree | 7610ea1c535149548b24afbb70185e531bb65e2a /libhb/reader.c | |
parent | c70164206ec34815c2565f34749493e056975c74 (diff) |
libhb: fix memory leaks
Diffstat (limited to 'libhb/reader.c')
-rw-r--r-- | libhb/reader.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 ) |