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

packetizer: flac: fix memory leak

(cherry picked from commit 832510eb27f32d6e08451d7591a8149caadff935)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 7614ae53
...@@ -769,6 +769,7 @@ static void Close(vlc_object_t *p_this) ...@@ -769,6 +769,7 @@ static void Close(vlc_object_t *p_this)
decoder_t *p_dec = (decoder_t *)p_this; decoder_t *p_dec = (decoder_t *)p_this;
decoder_sys_t *p_sys = p_dec->p_sys; decoder_sys_t *p_sys = p_dec->p_sys;
es_format_Clean(&p_dec->fmt_out);
block_BytestreamRelease(&p_sys->bytestream); block_BytestreamRelease(&p_sys->bytestream);
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