Enabling cleanup

Enabling the cleanup call in ImageFile.load
This commit is contained in:
wiredfool 2013-05-16 08:32:24 -06:00
parent f6381ba00c
commit 158cdbe8db

View File

@ -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