summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/openjpeg.c
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2017-07-06 02:02:25 +0200
committerEven Rouault <even.rouault@spatialys.com>2017-08-07 18:32:52 +0200
commit0c1fc0593ef5b918068709fd74d76e4824c90e7c (patch)
treefce108f971e52632f3973fa4eacdd45f79a9c64c /src/lib/openjp2/openjpeg.c
parentf58aab9d6a57e48bdc60e15dd373c24de74719a9 (diff)
Complementary fix to previous commit
Diffstat (limited to 'src/lib/openjp2/openjpeg.c')
-rw-r--r--src/lib/openjp2/openjpeg.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/openjp2/openjpeg.c b/src/lib/openjp2/openjpeg.c
index 8293a58d..4e649a74 100644
--- a/src/lib/openjp2/openjpeg.c
+++ b/src/lib/openjp2/openjpeg.c
@@ -1011,10 +1011,13 @@ opj_stream_t* OPJ_CALLCONV opj_stream_create_file_stream(
void* OPJ_CALLCONV opj_image_data_alloc(OPJ_SIZE_T size)
{
- return opj_aligned_malloc(size);
+ void* ret = opj_aligned_malloc(size);
+ /* printf("opj_image_data_alloc %p\n", ret); */
+ return ret;
}
void OPJ_CALLCONV opj_image_data_free(void* ptr)
{
+ /* printf("opj_image_data_free %p\n", ptr); */
opj_aligned_free(ptr);
}