tree-wide: various code-formatting improvements
Reported/found by Coccinelle
This commit is contained in:
committed by
Yu Watanabe
parent
1697a28567
commit
38288f0bb8
@@ -78,7 +78,7 @@ void* greedy_realloc(void **p, size_t *allocated, size_t need, size_t size) {
|
||||
* take possession of the extra space. This should be cheap, since libc doesn't have to move
|
||||
* the memory for this. */
|
||||
|
||||
qq = realloc(q, bn * size);
|
||||
qq = reallocarray(q, bn, size);
|
||||
if (_likely_(qq)) {
|
||||
*p = qq;
|
||||
*allocated = bn;
|
||||
|
||||
Reference in New Issue
Block a user