summaryrefslogtreecommitdiffstats
path: root/libhb/dvd.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2012-05-01 11:23:36 +0000
committerjstebbins <[email protected]>2012-05-01 11:23:36 +0000
commitdf3daf7cdd85794ef3d7f0eff181eb3b323a489f (patch)
treebb7e5295a613949f3b556d7baf5a43b387b551f6 /libhb/dvd.c
parent2e8be70b9910c62d8d8cb693f8c58485efbf4e97 (diff)
merge assorted fixes provided by Rogerio Brito
Pretty much all resource cleanup issues on error condition handling. Thanks Rogerio! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4620 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/dvd.c')
-rw-r--r--libhb/dvd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/dvd.c b/libhb/dvd.c
index bd167e775..5dbe85072 100644
--- a/libhb/dvd.c
+++ b/libhb/dvd.c
@@ -146,7 +146,7 @@ hb_dvd_t * hb_dvdread_init( char * path )
fail:
if( d->vmg ) ifoClose( d->vmg );
if( d->reader ) DVDClose( d->reader );
- free( d );
+ free( e );
return NULL;
}