[PATCH] Replace xalloc with malloc

Matt Turner mattst88 at gmail.com
Wed Jun 16 12:25:04 PDT 2010


On Wed, Jun 16, 2010 at 2:28 PM, Tomas Carnecky <tom at dbservice.com> wrote:
> Same for xfree/xrealloc/xcalloc. Also, the return value from
> malloc/realloc/calloc doesn't require a cast, same for the
> argument of free(). Also remove if()'s that check if the
> pointer that is about to be passed to free() is NULL, since
> free(NULL) is allowed.
>
> Signed-off-by: Tomas Carnecky <tom at dbservice.com>

'Also' in commit messages is usually a sign that the commit needs to
be split into multiple patches.

Whatever the case,
Reviewed-by: Matt Turner <mattst88 at gmail.com>


More information about the xorg-devel mailing list