1
0
Fork 0

Also free $file just in case

pull/9959/head
Jordi Boggiano 2021-06-08 21:26:41 +02:00
parent c668c24599
commit f61f2c6872
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ class Filesystem
} }
// release locks on the directory, see https://github.com/composer/composer/issues/9945 // release locks on the directory, see https://github.com/composer/composer/issues/9945
unset($ri, $it); unset($ri, $it, $file);
return $this->rmdir($directory); return $this->rmdir($directory);
} }