[vlc-commits] cvdsub: fix memory leak
Thomas Guillem
git at videolan.org
Wed Nov 15 14:58:10 CET 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Nov 15 14:57:54 2017 +0100| [0710485dc37223bc6a9bc2bd937b9cd756dbf0e8] | committer: Thomas Guillem
cvdsub: fix memory leak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0710485dc37223bc6a9bc2bd937b9cd756dbf0e8
---
modules/codec/cvdsub.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/codec/cvdsub.c b/modules/codec/cvdsub.c
index f74a297b1b..3905bec032 100644
--- a/modules/codec/cvdsub.c
+++ b/modules/codec/cvdsub.c
@@ -178,6 +178,7 @@ static int Decode( decoder_t *p_dec, block_t *p_block )
/* Parse and decode */
subpicture_t *p_spu = DecodePacket( p_dec, p_data );
+ block_Release( p_data );
if( p_spu != NULL )
decoder_QueueSub( p_dec, p_spu );
return VLCDEC_SUCCESS;
More information about the vlc-commits
mailing list