diff --git a/apis/filesystem/src/main/java/org/jclouds/filesystem/strategy/internal/FilesystemStorageStrategyImpl.java b/apis/filesystem/src/main/java/org/jclouds/filesystem/strategy/internal/FilesystemStorageStrategyImpl.java index f67c5aa1b0..127f5f2999 100644 --- a/apis/filesystem/src/main/java/org/jclouds/filesystem/strategy/internal/FilesystemStorageStrategyImpl.java +++ b/apis/filesystem/src/main/java/org/jclouds/filesystem/strategy/internal/FilesystemStorageStrategyImpl.java @@ -496,6 +496,7 @@ public class FilesystemStorageStrategyImpl implements LocalStorageStrategy { if (!tmpFile.renameTo(outputFile)) { throw new IOException("Could not rename file " + tmpFile + " to " + outputFile); } + tmpFile = null; return base16().lowerCase().encode(actualHashCode.asBytes()); } finally {