Improve handling of realloc()
Fixes cppcheck warning:
[fslsfonts.c:268]: (error) Common realloc mistake: 'font_list' nulled but not freed upon failure
Uses reallocarray()
if available from either libc or libbsd.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Fixes cppcheck warning:
[fslsfonts.c:268]: (error) Common realloc mistake: 'font_list' nulled but not freed upon failure
Uses reallocarray()
if available from either libc or libbsd.