[vlc-commits] packetizer: vc1: fix leak
Francois Cartegnie
git at videolan.org
Fri Sep 7 13:34:44 CEST 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Sep 7 12:15:40 2018 +0200| [988e4c03954beac39be22cf1da9f940d0928d52c] | committer: Francois Cartegnie
packetizer: vc1: fix leak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=988e4c03954beac39be22cf1da9f940d0928d52c
---
modules/packetizer/vc1.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/packetizer/vc1.c b/modules/packetizer/vc1.c
index 6f70214f73..f8d070c3a4 100644
--- a/modules/packetizer/vc1.c
+++ b/modules/packetizer/vc1.c
@@ -215,6 +215,10 @@ static void Close( vlc_object_t *p_this )
packetizer_Clean( &p_sys->packetizer );
if( p_sys->p_frame )
block_Release( p_sys->p_frame );
+ if( p_sys->sh.p_sh )
+ block_Release( p_sys->sh.p_sh );
+ if( p_sys->ep.p_ep )
+ block_Release( p_sys->ep.p_ep );
cc_Exit( &p_sys->cc_next );
cc_Exit( &p_sys->cc );
More information about the vlc-commits
mailing list