mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 01:04:29 +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
|
||||
# If we don't destroy the decompressor, we have a memory leak.
|
||||
#d.cleanup()
|
||||
d.cleanup()
|
||||
|
||||
if LOAD_TRUNCATED_IMAGES:
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue
Block a user