Commit f2db3647 authored by Adrien Maglo's avatar Adrien Maglo Committed by Jean-Baptiste Kempf

Avformat mux: fix a memory leak

(cherry picked from commit 1d3afcdb03b4dab9938ae311205e6364e34f6ec5)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 9f5238c4
...@@ -161,6 +161,7 @@ void CloseMux( vlc_object_t *p_this ) ...@@ -161,6 +161,7 @@ void CloseMux( vlc_object_t *p_this )
} }
avformat_free_context(p_sys->oc); avformat_free_context(p_sys->oc);
av_free(p_sys->io);
free( p_sys->io_buffer ); free( p_sys->io_buffer );
free( p_sys ); free( p_sys );
......
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