Commit 5ca01aec authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Revert "Fix memleak in mkv."

This reverts commit 9b868a2f.
parent 87219a2b
......@@ -5005,9 +5005,7 @@ void matroska_segment_c::ParseAttachments( KaxAttachments *attachments )
if( new_attachment )
{
char* tmp = ToUTF8( UTFstring( file_name ) );
new_attachment->psz_file_name = tmp;
free( tmp );
new_attachment->psz_file_name = ToUTF8( UTFstring( file_name ) );
new_attachment->psz_mime_type = psz_mime_type;
new_attachment->i_size = img_data.GetSize();
new_attachment->p_data = malloc( img_data.GetSize() );
......
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