diff options
author | saintdev <[email protected]> | 2007-03-31 06:55:02 +0000 |
---|---|---|
committer | saintdev <[email protected]> | 2007-03-31 06:55:02 +0000 |
commit | 2338338511e4b1ef3ec5e85606900a846efa2b42 (patch) | |
tree | c33957efc6c20bd8a2cab6c30bbb689b3e5b88fd /libhb/work.c | |
parent | 18cd105e9a40beccc264178dba69b8b89926a121 (diff) |
Fix about 156,199 bytes of leaked memory.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@469 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/work.c')
-rw-r--r-- | libhb/work.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libhb/work.c b/libhb/work.c index 97c332bec..3c1ceadd5 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -369,6 +369,8 @@ static void do_job( hb_job_t * job, int cpu_count ) w = NULL; } } + + hb_list_close( &job->list_work ); /* Stop read & write threads */ hb_thread_close( &job->reader ); @@ -393,6 +395,9 @@ static void do_job( hb_job_t * job, int cpu_count ) hb_fifo_close( &audio->fifo_sync ); hb_fifo_close( &audio->fifo_out ); } + + hb_title_close( &job->title ); + free( job ); } /** |