HomeFreeBSD

xlocale.c: only call init_key() when locale was successfully allocated

Description

xlocale.c: only call init_key() when locale was successfully allocated

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D34140

Details

Provenance
kibAuthored on Feb 2 2022, 5:25 PM
Reviewer
markj
Differential Revision
D34140: xlocale.c: check for allocation failure
Parents
rGb68522308d1e: xlocale.c: check for allocation failure
Branches
Unknown
Tags
Unknown