Commit 7b6b7427 authored by Hannes Domani's avatar Hannes Domani Committed by Jean-Baptiste Kempf

avformat: fix memory leak

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent ec9891fc
...@@ -320,6 +320,7 @@ int OpenDemux( vlc_object_t *p_this ) ...@@ -320,6 +320,7 @@ int OpenDemux( vlc_object_t *p_this )
{ {
msg_Err( p_demux, "Could not open %s: %s", psz_url, msg_Err( p_demux, "Could not open %s: %s", psz_url,
vlc_strerror_c(AVUNERROR(error)) ); vlc_strerror_c(AVUNERROR(error)) );
av_free( p_io_buffer );
av_free( pb ); av_free( pb );
p_sys->ic = NULL; p_sys->ic = NULL;
free( psz_url ); free( psz_url );
......
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