[php-src] PR #25079: tree: use correct argument order for allocation functions

From: Date: Sat, 31 Oct 2026 10:30:13 +0000
Subject: [php-src] PR #25079: tree: use correct argument order for allocation functions
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-40125@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/25079 Author: Girgias Note these changes were done via a manual audit. The motivation for using sizeof(char) rather than a literal 1 is to make the intention clearer, as a plain 1 can also mean "allocate 1 element of this alignment" and determining this meaning is not necessarily immediately obvious. I might have missed some cases, but hopefully it is all of them.

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