diff --git a/phpseclib/Net/SCP.php b/phpseclib/Net/SCP.php index 8fae6e6d..389265eb 100644 --- a/phpseclib/Net/SCP.php +++ b/phpseclib/Net/SCP.php @@ -195,7 +195,6 @@ class Net_SCP $fp = @fopen($data, 'rb'); if (!$fp) { - fclose($fp); return false; } $size = filesize($data);