From 2c08b3b40f0b980b29ef4a689654c46a9361e2f0 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Thu, 7 Jul 2011 23:15:48 +0000 Subject: libhb: fix a couple small memory leaks git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4088 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/dvd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libhb/dvd.c') 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 ); -- cgit v1.2.3