Commit 85136949 authored by Pierre Lamot's avatar Pierre Lamot Committed by Jean-Baptiste Kempf

asx: fix double free

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent c6ca3727
......@@ -510,10 +510,7 @@ static char* ASXToXML( char* psz_source )
}
}
if( vlc_memstream_close( &stream_out ) != 0 )
{
free( stream_out.ptr );
return NULL;
}
return stream_out.ptr;
}
......
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