From b3e5013602b5d8e25952115952fae11dd16f2f31 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Wed, 13 Aug 2025 13:54:43 +0200 Subject: Remove obsolete (and starting from PHP 8.5 deprecated) curl_close/xml_parser_free which has been handled by object GC since 8.0 --- it_url.class | 1 - it_xml.class | 1 - 2 files changed, 2 deletions(-) diff --git a/it_url.class b/it_url.class index 8255960..40f22f9 100644 --- a/it_url.class +++ b/it_url.class @@ -435,7 +435,6 @@ static function get_multi($p=null) }; $closehandle = function ($key) use (&$keys, &$handles, $mh) { curl_multi_remove_handle($mh, $handles[$key]); - curl_close($handles[$key]); unset($keys[(int)$handles[$key]]); unset($handles[$key]); }; diff --git a/it_xml.class b/it_xml.class index f74f743..d58f020 100644 --- a/it_xml.class +++ b/it_xml.class @@ -103,7 +103,6 @@ function from_xml($xmldata, $p) } unset($this->_arrayforce, $this->_p['safety'], $this->_p['it_error'], $this->_p['factory'], $this->_stack); - xml_parser_free($parser); return empty($this->error); } -- cgit v1.2.3