HomeFreeBSD

Use calloc(3) instead of malloc(3) + memset(3)

Description

Use calloc(3) instead of malloc(3) + memset(3)
While here check the return of calloc(3)

Details

Provenance
baptAuthored on
Parents
rS282719: The initial logic for allocating the new string was wrong, the conversion
Branches
Unknown
Tags
Unknown