Skip to content

Improve handling of realloc()

Alan Coopersmith requested to merge alanc/fslsfonts:misc into master

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.

Merge request reports