taglib: Supports in ogg/vorbis base64 encoded embedded album art with COVERARTMIME...
[vlc.git] / modules / demux / mpeg / m4a.c
index 4610a46..70da53a 100644 (file)
@@ -119,6 +119,9 @@ static int Open( vlc_object_t * p_this )
         p_sys->meta = p_demux_meta->p_meta;
         p_demux->p_private = NULL;
         module_Unneed( p_demux, p_id3 );
+        int i;
+        for( i = 0; i < p_demux_meta->i_attachments; i++ )
+            free( p_demux_meta->attachments[i] );
         TAB_CLEAN( p_demux_meta->i_attachments, p_demux_meta->attachments );
     }
     free( p_demux->p_private );