summaryrefslogtreecommitdiffstats
path: root/libhb/dvdnav.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2012-09-13 20:13:59 +0000
committerjstebbins <[email protected]>2012-09-13 20:13:59 +0000
commit8329bf01460521587889fd4133f76b32ccf13217 (patch)
treec0758b2c843c05b03ab1ad93857c6045ad7c0a91 /libhb/dvdnav.c
parentae8dee43bbcd12b5a4a532c7f4f65bf912479428 (diff)
libhb: fix a collection of small memory leaks
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4963 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/dvdnav.c')
-rw-r--r--libhb/dvdnav.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/dvdnav.c b/libhb/dvdnav.c
index e7257a17b..d38017205 100644
--- a/libhb/dvdnav.c
+++ b/libhb/dvdnav.c
@@ -1822,6 +1822,8 @@ static void hb_dvdnav_close( hb_dvd_t ** _d )
if( d->vmg ) ifoClose( d->vmg );
if( d->reader ) DVDClose( d->reader );
+ free(d->path);
+
free( d );
*_d = NULL;
}