diff --git a/libImaging/Jpeg2KEncode.c b/libImaging/Jpeg2KEncode.c old mode 100644 new mode 100755 index 5d6caf30c..1ed5e08fc --- a/libImaging/Jpeg2KEncode.c +++ b/libImaging/Jpeg2KEncode.c @@ -584,11 +584,11 @@ ImagingJpeg2KEncodeCleanup(ImagingCodecState state) { context->error_msg = NULL; - if (context->encoder) - ImagingIncrementalCodecDestroy(context->encoder); + //if (context->encoder) + // ImagingIncrementalCodecDestroy(context->encoder); /* Prevent multiple calls to ImagingIncrementalCodecDestroy */ - context->encoder = NULL; + //context->encoder = NULL; return -1;