diff options
Diffstat (limited to 'libhb/enclame.c')
-rw-r--r-- | libhb/enclame.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libhb/enclame.c b/libhb/enclame.c index c0b0f9df0..33cfa14c8 100644 --- a/libhb/enclame.c +++ b/libhb/enclame.c @@ -68,6 +68,13 @@ int enclameInit( hb_work_object_t * w, hb_job_t * job ) **********************************************************************/ void enclameClose( hb_work_object_t * w ) { + hb_work_private_t * pv = w->private_data; + + lame_close( pv->lame ); + hb_list_empty( &pv->list ); + free( pv->buf ); + free( pv ); + w->private_data = NULL; } /*********************************************************************** |