summaryrefslogtreecommitdiffstats
path: root/libhb/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/render.c')
-rw-r--r--libhb/render.c5
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 )