Skip to content

Commit

Permalink
Fix a potential leak in dvdnav_describe_title_chapters. Thanks to Jam…
Browse files Browse the repository at this point in the history
…es Dutton (libdvdnav) for identifying the problem.
  • Loading branch information
stuartm committed Apr 18, 2012
1 parent 9ea5252 commit 87b3f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythdvdnav/dvdnav/searching.c
Expand Up @@ -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);
Expand Down

0 comments on commit 87b3f9c

Please sign in to comment.