Free p_tcd_marker_info to avoid memory leak

This commit is contained in:
yuan 2020-11-26 00:22:49 +08:00
parent 649298dcf8
commit 4f487798ba
1 changed files with 1 additions and 0 deletions

View File

@ -2851,6 +2851,7 @@ void opj_tcd_marker_info_destroy(opj_tcd_marker_info_t *p_tcd_marker_info)
{
if (p_tcd_marker_info) {
opj_free(p_tcd_marker_info->p_packet_size);
opj_free(p_tcd_marker_info);
}
}