summaryrefslogtreecommitdiffstats
path: root/libhb/dvd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/dvd.c')
-rw-r--r--libhb/dvd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libhb/dvd.c b/libhb/dvd.c
index 2a36eb4f2..36798c2c1 100644
--- a/libhb/dvd.c
+++ b/libhb/dvd.c
@@ -651,9 +651,7 @@ static hb_title_t * hb_dvdread_title_scan( hb_dvd_t * e, int t, uint64_t min_dur
goto cleanup;
fail:
- hb_list_close( &title->list_audio );
- free( title );
- title = NULL;
+ hb_title_close( &title );
cleanup:
if( vts ) ifoClose( vts );