Commit d7de1776 authored by Thomas Guillem's avatar Thomas Guillem
Browse files

codec: hxxx: fix invalid free

parent e399387e
......@@ -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();
......
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