summaryrefslogtreecommitdiffstats
path: root/libhb/scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/scan.c')
-rw-r--r--libhb/scan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/scan.c b/libhb/scan.c
index ec35eb916..535baea39 100644
--- a/libhb/scan.c
+++ b/libhb/scan.c
@@ -538,6 +538,7 @@ static int DecodePreviews( hb_scan_t * data, hb_title_t * title )
{
free( info_list );
crop_record_free( crops );
+ hb_buffer_pool_free();
return 0;
}
if (data->bd)
@@ -940,6 +941,7 @@ skip_preview:
if (data->dvd)
hb_dvd_stop( data->dvd );
+ hb_buffer_pool_free();
return npreviews;
}