Index: imagecache.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/imagecache/imagecache.module,v retrieving revision 1.89 diff -u -r1.89 imagecache.module --- imagecache.module 8 Oct 2008 01:38:11 -0000 1.89 +++ imagecache.module 8 Oct 2008 10:07:57 -0000 @@ -706,6 +706,7 @@ $entry_path = $path .'/'. $entry; _imagecache_recursive_delete($entry_path); } + $d->close(); rmdir($path); } else {