[vlc-commits] codec: videotoolbox: fix leak

Thomas Guillem git at videolan.org
Fri Nov 24 14:28:51 CET 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Nov 24 13:56:36 2017 +0100| [5d1143695cd91c2c328ed78f07ed876d1b62c0f6] | committer: Thomas Guillem

codec: videotoolbox: fix leak

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5d1143695cd91c2c328ed78f07ed876d1b62c0f6
---

 modules/codec/videotoolbox.m | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index afc08915e1..a8d88343db 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -635,6 +635,7 @@ static bool FillReorderInfoHEVC(decoder_t *p_dec, const block_t *p_block,
                     hevc_release_sei_pic_timing(sei.p_timing);
             }
 
+            hevc_rbsp_release_slice_header(p_sli);
             return true; /* No need to parse further NAL */
         }
         else if(i_nal_type == HEVC_NAL_PREF_SEI)



More information about the vlc-commits mailing list