diff --git a/src/MD_STD.php b/src/MD_STD.php index ef741d7..b270d46 100644 --- a/src/MD_STD.php +++ b/src/MD_STD.php @@ -741,7 +741,6 @@ final class MD_STD { if (!($mime_type = finfo_file($finfo, $filepath))) { throw new MDWrongFileType("Cannot get mime type of file: " . basename($filepath)); } - \finfo_close($finfo); return $mime_type;