[PATCHv2] xkb: replace xstrdup with strdup in Win32System

Julien Cristau jcristau at debian.org
Sun Jun 6 16:37:19 PDT 2010


On Mon, Jun  7, 2010 at 03:24:32 +0700, Mikhail Gusarov wrote:

> @@ -235,6 +235,11 @@ XkbDDXCompileKeymapByNames(	XkbDescPtr		xkb,
>  		  xkm_output_dir, keymap);
>  
>      free(xkbbasedirflag);
> +
> +    if (!buf) {
> +        LogMessage(X_Error, "XKB: Could not invoke xkbcomp: not enough memory\n");

ITYM X_ERROR.  X_Error is something else.

Cheers,
Julien


More information about the xorg-devel mailing list