Merge pull request #1288 from zodf0055980/master
Free p_tcd_marker_info to avoid memory leak
This commit is contained in:
commit
a2b2980a4b
|
@ -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