mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-27 12:33:41 +03:00
Enabling cleanup
Enabling the cleanup call in ImageFile.load
This commit is contained in:
parent
f6381ba00c
commit
158cdbe8db
|
@ -211,7 +211,7 @@ class ImageFile(Image.Image):
|
||||||
|
|
||||||
# JpegDecode needs to clean things up here either way
|
# JpegDecode needs to clean things up here either way
|
||||||
# If we don't destroy the decompressor, we have a memory leak.
|
# If we don't destroy the decompressor, we have a memory leak.
|
||||||
#d.cleanup()
|
d.cleanup()
|
||||||
|
|
||||||
if LOAD_TRUNCATED_IMAGES:
|
if LOAD_TRUNCATED_IMAGES:
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue
Block a user