mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
More testing...
This commit is contained in:
parent
9ccc930784
commit
e4e1f5c2d4
|
@ -576,13 +576,13 @@ int
|
|||
ImagingJpeg2KEncodeCleanup(ImagingCodecState state) {
|
||||
JPEG2KENCODESTATE *context = (JPEG2KENCODESTATE *)state->context;
|
||||
|
||||
if (context->quality_layers)
|
||||
Py_DECREF(context->quality_layers);
|
||||
//if (context->quality_layers)
|
||||
// Py_DECREF(context->quality_layers);
|
||||
|
||||
if (context->error_msg)
|
||||
free ((void *)context->error_msg);
|
||||
//if (context->error_msg)
|
||||
// free ((void *)context->error_msg);
|
||||
|
||||
context->error_msg = NULL;
|
||||
//context->error_msg = NULL;
|
||||
|
||||
//if (context->encoder)
|
||||
// ImagingIncrementalCodecDestroy(context->encoder);
|
||||
|
|
Loading…
Reference in New Issue
Block a user