summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-08-26 11:53:44 -0700
committerJohn Stebbins <[email protected]>2019-08-26 11:55:52 -0700
commit8577dcd6f47d253323ebdc5da804a498350bf924 (patch)
treed07671facf63f84261187c0a1981f9814b85a149
parent16e0085fe50f85732756ed442665e76b6a0b9171 (diff)
dvdnav: fix double free on close
-rw-r--r--libhb/dvdnav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/dvdnav.c b/libhb/dvdnav.c
index 061c20f06..bd2906568 100644
--- a/libhb/dvdnav.c
+++ b/libhb/dvdnav.c
@@ -1868,11 +1868,11 @@ static void hb_dvdnav_close( hb_dvd_t ** _d )
if (d->dvdnav) dvdnav_close( d->dvdnav );
if (d->vmg) ifoClose( d->vmg );
+ TitleCloseIfo(d);
if (d->reader) DVDClose( d->reader );
free(d->path);
- TitleCloseIfo(d);
free( d );
*_d = NULL;