From b228226700965c696f6fc7196ef7f8f067885958 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 6 Nov 2014 16:53:35 +0100 Subject: Fix single run of encryption tests and usages of uniqid() and fopen() --- apps/files_encryption/lib/stream.php | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/files_encryption/lib') diff --git a/apps/files_encryption/lib/stream.php b/apps/files_encryption/lib/stream.php index f74812a7253..8aa1daaa797 100644 --- a/apps/files_encryption/lib/stream.php +++ b/apps/files_encryption/lib/stream.php @@ -573,6 +573,7 @@ class Stream { \OC_FileProxy::$enabled = false; if ($this->rootView->file_exists($this->rawPath) && $this->size === 0) { + fclose($this->handle); $this->rootView->unlink($this->rawPath); } -- cgit v1.2.3