vlc | branch: master | Thomas Guillem <[email protected]> | Fri Mar 31 09:30:18 2017 +0200| [d7de177692cacaba53ae65617b2a1f08eefb12af] | committer: Thomas Guillem
codec: hxxx: fix invalid free > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d7de177692cacaba53ae65617b2a1f08eefb12af --- modules/codec/hxxx_helper.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/codec/hxxx_helper.c b/modules/codec/hxxx_helper.c index 4b9c9f3..134d4bd 100644 --- a/modules/codec/hxxx_helper.c +++ b/modules/codec/hxxx_helper.c @@ -75,8 +75,7 @@ hxxx_helper_clean(struct hxxx_helper *hh) } break; case VLC_CODEC_HEVC: - if (hh->hevc.p_annexb_config_nal) - block_Release(hh->hevc.p_annexb_config_nal); + free(hh->hevc.p_annexb_config_nal); break; default: vlc_assert_unreachable(); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
