diff --git a/imagecache.module b/imagecache.module index e045e54a4ef829feca8a99053359f5c33542dd38..d0b5b76c88070c0ee1f3c772c11c8dd8d41ccc0f 100644 --- a/imagecache.module +++ b/imagecache.module @@ -481,8 +481,6 @@ function imagecache_build_derivative($actions, $src, $dst) { } } - imageapi_image_close($image, $dst); - if (!imageapi_image_close($image, $dst)) { if (file_exists($dst)) { watchdog('imagecache', t('Cached image file already exists. There is an issue with your Rewrite configuration.'), WATCHDOG_ERROR);