[php-src] master: Merge branch 'PHP-8.6'

From: Date: Thu, 29 Oct 2026 19:07:29 +0000
Subject: [php-src] master: Merge branch 'PHP-8.6'
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-142961@lists.php.net to get a copy of this message
Author: Ilia Alshanetsky (iliaal) Date: 2026-10-29T14:49:00-04:00 Commit: https://github.com/php/php-src/commit/ed255aed9ef638842aeecbd2c83d76f2c7896d32 Raw diff: https://github.com/php/php-src/commit/ed255aed9ef638842aeecbd2c83d76f2c7896d32.diff Merge branch 'PHP-8.6' * PHP-8.6: ext/standard: Free Windows DNS query results Changed paths: M ext/standard/dns_win32.c Diff: diff --git a/ext/standard/dns_win32.c b/ext/standard/dns_win32.c index c9ff67e47b1e..e8e970e0d229 100644 --- a/ext/standard/dns_win32.c +++ b/ext/standard/dns_win32.c @@ -114,6 +114,10 @@ PHP_FUNCTION(dns_check_record) status = DnsQuery_A(hostname, type, DNS_QUERY_STANDARD, NULL, &pResult, NULL); + if (!status) { + DnsRecordListFree(pResult, DnsFreeRecordListDeep); + } + RETURN_BOOL(!status); } /* }}} */

« previous php.cvs (#142961) next »