[PATCH] Extract LogFinishInit from LogInit

Cyril Brulebois kibi at debian.org
Mon Nov 8 11:53:40 PST 2010


Mikhail Gusarov <dottedmag at dottedmag.net> (25/10/2010):
> diff --git a/os/log.c b/os/log.c
> […]
> +void
> +LogFinishInit(void)
> +{
> +    if (saveBuffer) {
> +	free(saveBuffer);	/* Must be free(), not free() */
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

That probably can go away, see 3f3ff971. There are also some other
comments about malloc and friends which are said not to be usable at
this point (git grep "can't be used" -- os/log.c).

Mraw,
KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101108/fd4e20ea/attachment.pgp>


More information about the xorg-devel mailing list