[php-src] PR #23249: Fix leak when persistent PDO liveness check fails

From: Date: Thu, 13 Aug 2026 14:13:27 +0000
Subject: [php-src] PR #23249: Fix leak when persistent PDO liveness check fails
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-37823@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/23249 Author: iliaal zend_list_close() only runs PDO's regular resource dtor, which is NULL. A dead cached persistent handle with no other live PDO object was dropped from the cache and never passed to php_pdo_pdbh_dtor. Delete the persistent_list entry so the persistent dtor runs. If another PDO object still holds the handle, the cache entry is only evicted.

« previous php.git-pulls (#37823) next »