[PATCH] Replace xalloc with malloc

Alan Coopersmith alan.coopersmith at oracle.com
Wed Jun 16 12:52:24 PDT 2010


Tomas Carnecky wrote:
>      /* Copy the string so it can be changed */
>  
> -    tmpptr = mybuf = (char *) xalloc (strlen (address) + 1);
> +    tmpptr = mybuf = malloc (strlen (address) + 1);
>      strcpy (mybuf, address);

While I'd prefer to see those eventually change to strdup calls,
that's not part of this patch, and this patch seems complete as is.

Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list