On Mon, 14 Dec 2020 11:22:16 +0000 (UTC), GitLab Mirror wrote: > + if (format_optarg) { > + free ((void*)format_optarg); > + format_optarg = NULL; > + } No need to make this sort of thing conditional. free(3) of a NULL pointer is a harmless no-op.