summaryrefslogtreecommitdiffstats
path: root/libhb/dvd.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-07-07 23:15:48 +0000
committerjstebbins <[email protected]>2011-07-07 23:15:48 +0000
commit2c08b3b40f0b980b29ef4a689654c46a9361e2f0 (patch)
tree46431b45ca885ce5c70955bc8bbb6966ae172bbf /libhb/dvd.c
parentc57ab6ee2a06191cf3690a0b897244e201c2ef28 (diff)
libhb: fix a couple small memory leaks
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4088 b64f7644-9d1e-0410-96f1-a4d463321fa5
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 );