Free p_tcd_marker_info to avoid memory leak
This commit is contained in:
parent
649298dcf8
commit
4f487798ba
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue