diff options
Diffstat (limited to 'lib/private/Preview/Bundled.php')
-rw-r--r-- | lib/private/Preview/Bundled.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Preview/Bundled.php b/lib/private/Preview/Bundled.php index 4da2486b76b..e0551bd392b 100644 --- a/lib/private/Preview/Bundled.php +++ b/lib/private/Preview/Bundled.php @@ -33,6 +33,8 @@ abstract class Bundled extends ProviderV2 { protected function extractThumbnail(File $file, string $path): ?IImage { $sourceTmp = \OC::$server->getTempManager()->getTemporaryFile(); $targetTmp = \OC::$server->getTempManager()->getTemporaryFile(); + $this->tmpFiles[] = $sourceTmp; + $this->tmpFiles[] = $targetTmp; try { $content = $file->fopen('r'); |