HomeFreeBSD

rallocx path: only set errno on the realloc case.

Description

rallocx path: only set errno on the realloc case.

PR: 291677
Obtained from: jemalloc (commit 83b075789b4239035931c1ee212576d00153bbf0)
Fixes: c43cad871720 ("jemalloc: Merge from jemalloc 5.3.0 vendor branch")
MFC after: 3 days
Pull Request: https://github.com/freebsd/freebsd-src/pull/2059

Details

Provenance
Qi Wang <interwq@gwu.edu>Authored on Mar 3 2026, 11:55 AM
brooksCommitted on Mar 9 2026, 12:35 PM
Parents
rG5583b64f230f: Set errno to ENOMEM on rallocx() OOM failures
Branches
Unknown
Tags
Unknown