diff options
Diffstat (limited to 'libhb/encxvid.c')
-rw-r--r-- | libhb/encxvid.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/encxvid.c b/libhb/encxvid.c index 7768f8e12..6d869ae36 100644 --- a/libhb/encxvid.c +++ b/libhb/encxvid.c @@ -131,6 +131,9 @@ void encxvidClose( hb_work_object_t * w ) hb_log( "encxvid: closing libxvidcore" ); xvid_encore( pv->xvid, XVID_ENC_DESTROY, NULL, NULL); } + + free( pv ); + w->private_data = NULL; } /*********************************************************************** |