mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-03 13:14:27 +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;
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user