diff --git a/PIL/ImageFile.py b/PIL/ImageFile.py index 0cc1d0f17..28c60c8b3 100644 --- a/PIL/ImageFile.py +++ b/PIL/ImageFile.py @@ -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