summaryrefslogtreecommitdiffstats
path: root/libhb/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/common.c')
-rw-r--r--libhb/common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libhb/common.c b/libhb/common.c
index f1926e9dd..6b1d830a3 100644
--- a/libhb/common.c
+++ b/libhb/common.c
@@ -1051,6 +1051,10 @@ void hb_title_close( hb_title_t ** _t )
while( ( audio = hb_list_item( t->list_audio, 0 ) ) )
{
+ if ( audio->priv.ff_audio_list != NULL )
+ {
+ hb_list_close( &audio->priv.ff_audio_list );
+ }
hb_list_rem( t->list_audio, audio );
free( audio );
}