X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=libhb%2Fcommon.c;h=0ddcccef576384690b08f411d42ac71ef8961591;hb=0f25cfb3cfac4feff657bb79bcc0b689baa99860;hp=7d26905a61a33168e5248fe9ed083c2e5819304d;hpb=3083fe61cd6ceb43bf2edfe0538881f0bb1ce4c4;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/libhb/common.c b/libhb/common.c index 7d26905a..0ddcccef 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -674,6 +674,15 @@ void hb_title_close( hb_title_t ** _t ) } hb_list_close( &t->list_subtitle ); + if( t->metadata ) + { + if( t->metadata->coverart ) + { + free( t->metadata->coverart ); + } + free( t->metadata ); + } + free( t ); *_t = NULL; }