[php-src] PR #16297: curl: Remove unnecessary dynamic allocation for HashTable in _php_curl_free
| From: | TimWolla | Date: | Tue, 08 Oct 2024 09:58:50 +0000 |
| Subject: | [php-src] PR #16297: curl: Remove unnecessary dynamic allocation for HashTable in _php_curl_free | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-29089@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16297
Author: TimWolla
Given that the lifecycle of the
slist HashTable exactly matches the lifecycle of the
_php_curl_free struct, we might as well embed the HashTable directly and avoid a
pointer indirection.