[php-src] PR #19042: uri: Do not overwrite `defaultMemoryManager`
| From: | TimWolla | Date: | Sat, 05 Jul 2025 17:39:50 +0000 |
| Subject: | [php-src] PR #19042: uri: Do not overwrite `defaultMemoryManager` | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32330@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19042
Author: TimWolla
The
defaultMemoryManager is only available via a non-public header and is not supposed
to be used by users of the library [1]. It also has a very generic name, further indicating that it
is not supposed to be used.
Instead pass the memory manager explicitly, which is how the library is supposed to be used.
[1] https://github.com/uriparser/uriparser/issues/52#issuecomment-453853700