mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-10 00:02:24 +03:00
Looking for cleanup segfault
This commit is contained in:
parent
7407371deb
commit
9ccc930784
6
libImaging/Jpeg2KEncode.c
Normal file → Executable file
6
libImaging/Jpeg2KEncode.c
Normal file → Executable file
|
@ -584,11 +584,11 @@ ImagingJpeg2KEncodeCleanup(ImagingCodecState state) {
|
||||||
|
|
||||||
context->error_msg = NULL;
|
context->error_msg = NULL;
|
||||||
|
|
||||||
if (context->encoder)
|
//if (context->encoder)
|
||||||
ImagingIncrementalCodecDestroy(context->encoder);
|
// ImagingIncrementalCodecDestroy(context->encoder);
|
||||||
|
|
||||||
/* Prevent multiple calls to ImagingIncrementalCodecDestroy */
|
/* Prevent multiple calls to ImagingIncrementalCodecDestroy */
|
||||||
context->encoder = NULL;
|
//context->encoder = NULL;
|
||||||
|
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user