[GIT-PULLS] [php-src] PR #22726: Fix leak when cURL PREREQFUNCTION returns a string
[email protected] (Sjord)
| Newsgroups | php.git-pulls |
|---|---|
| Message-ID | <fLiZ5yiCLvfr45hyj6iqYx1hqucbySsQnmRsblpc8x4@main.internal.php.net> |
Pull Request: https://github.com/php/php-src/pull/22726 Author: Sjord The return value of the function registered with CURLOPT_PREREQFUNCTION was not cleaned up. Destroy the return value. Increase the returned string in the test so that the address sanitizer picks up the leak.