Skip to content
Browse files

Fix a potential leak in dvdnav_describe_title_chapters. Thanks to Jam…

…es Dutton (libdvdnav) for identifying the problem.
  • Loading branch information...
1 parent 9ea5252 commit 87b3f9cd7e6ec1ee7a3b8691652125d01c60e1b8 @stuartm stuartm committed Apr 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythdvdnav/dvdnav/searching.c
View
2 mythtv/libs/libmythdvdnav/dvdnav/searching.c
@@ -789,7 +789,7 @@ uint32_t dvdnav_describe_title_chapters(dvdnav_t *this, int32_t title, uint64_t
fail:
pthread_mutex_unlock(&this->vm_lock);
- if(!retval && ifo)
+ if(ifo)
vm_ifo_close(ifo);
if(!retval && tmp)
free(tmp);

0 comments on commit 87b3f9c

Please sign in to comment.
Something went wrong with that request. Please try again.