Re: fontconfig: Branch 'master'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/fontconfig



[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux