diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2017-07-06 01:05:24 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2017-08-07 18:32:49 +0200 |
| commit | 61fb5dd7f81c2e3dfabbb99f59dc89572d59fa37 (patch) | |
| tree | 38e7107022e8c7ada17efb120cb4f836d7e5cab1 /src/lib/openjp2/openjpeg.c | |
| parent | 793edc38e41700e9b4cda4b7f9c79aba95b8d989 (diff) | |
Fix crash on Windows due to b7594c0fcb9dd3aa6356d72c4a525d76168da689
b7594c0fcb9dd3aa6356d72c4a525d76168da689 may put opj_tcd_tilecomp_t->data
allocated by opj_alloc_tile_component_data() as the image->comps[].data. As
opj_alloc_tile_component_data() use opj_aligned_malloc() we must be sure to
ue opj_alined_malloc()/_free() in all places where we alloc/free
image->comps[].data.
Note: this might have some compatibility impact in case user code does itself
the allocation/free of image->comps[].data
Diffstat (limited to 'src/lib/openjp2/openjpeg.c')
0 files changed, 0 insertions, 0 deletions
