Commit c8d812a3 authored by Rafaël Carré's avatar Rafaël Carré

flac demux: fix picture leak

parent 9b475290
......@@ -182,7 +182,7 @@ static void Close( vlc_object_t * p_this )
int i;
for( i = 0; i < p_sys->i_attachments; i++ )
free( p_sys->attachments[i] );
vlc_input_attachment_Delete( p_sys->attachments[i] );
TAB_CLEAN( p_sys->i_attachments, p_sys->attachments);
/* Delete the decoder */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment