summaryrefslogtreecommitdiffstats
path: root/libhb/encfaac.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/encfaac.c')
-rw-r--r--libhb/encfaac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/encfaac.c b/libhb/encfaac.c
index 5eee39508..7ed9853d7 100644
--- a/libhb/encfaac.c
+++ b/libhb/encfaac.c
@@ -122,6 +122,8 @@ void encfaacClose( hb_work_object_t * w )
faacEncClose( pv->faac );
free( pv->buf );
hb_list_empty( &pv->list );
+ free( pv );
+ w->private_data = NULL;
}
/***********************************************************************