aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Img_filesize.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-01-09 17:04:02 -0800
committerzotlabs <mike@macgirvin.com>2018-01-09 17:04:02 -0800
commit3ce79dd6e12c6eb7602649c93798883a2bef1e86 (patch)
treef26b38f565fed8a1652d1ddbe971cfc3835fde19 /Zotlabs/Lib/Img_filesize.php
parentdfb75840b8b6fbe369f0b9097cd322832cc48108 (diff)
downloadvolse-hubzilla-3ce79dd6e12c6eb7602649c93798883a2bef1e86.tar.gz
volse-hubzilla-3ce79dd6e12c6eb7602649c93798883a2bef1e86.tar.bz2
volse-hubzilla-3ce79dd6e12c6eb7602649c93798883a2bef1e86.zip
scrutinizer mods
Diffstat (limited to 'Zotlabs/Lib/Img_filesize.php')
-rw-r--r--Zotlabs/Lib/Img_filesize.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Img_filesize.php b/Zotlabs/Lib/Img_filesize.php
index e7bef37e1..196697733 100644
--- a/Zotlabs/Lib/Img_filesize.php
+++ b/Zotlabs/Lib/Img_filesize.php
@@ -114,8 +114,9 @@ function getRemoteFileSize($url)
return strlen($data);
});
- $result = curl_exec($ch);
- $info = curl_getinfo($ch);
+ curl_exec($ch);
+ curl_getinfo($ch);
+ curl_close($ch);
return $size;
} \ No newline at end of file