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/render.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/render.c')
-rw-r--r-- | libhb/render.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libhb/render.c b/libhb/render.c index cf6d7b31c..170047093 100644 --- a/libhb/render.c +++ b/libhb/render.c @@ -151,6 +151,11 @@ int renderWork( hb_work_object_t * w, hb_buffer_t ** buf_in, void renderClose( hb_work_object_t * w ) { + hb_work_private_t * pv = w->private_data; + + img_resample_close( pv->context ); + free( pv ); + w->private_data = NULL; } int renderInit( hb_work_object_t * w, hb_job_t * job ) |