Commit 4d3165e7 authored by Pierre Lamot's avatar Pierre Lamot Committed by Hugo Beauzée-Luyssen

asx: fix double free

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 85136949)
Signed-off-by: default avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent ee2bc613
......@@ -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