diff options
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r-- | Zotlabs/Lib/Img_filesize.php | 5 |
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 |