On Thu, Mar 19, 2009 at 09:35:25PM +0100, Maarten Maathuis wrote:
> ---
>  xkb/xkbLEDs.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/xkb/xkbLEDs.c b/xkb/xkbLEDs.c
> index c61296b..a70ac84 100644
> --- a/xkb/xkbLEDs.c
> +++ b/xkb/xkbLEDs.c
> @@ -643,7 +643,7 @@ XkbCopySrvLedInfo(        DeviceIntPtr            from,
>      else
>       sli_new->fb.lf = lf;
>  
> -    if (sli_new->flags & XkbSLI_IsDefault) {
> +    if (!(sli_new->flags & XkbSLI_IsDefault)) {
>       sli_new->names= _XkbTypedCalloc(XkbNumIndicators,Atom);
>       sli_new->maps= _XkbTypedCalloc(XkbNumIndicators,XkbIndicatorMapRec);
>      } /* else sli_new->names/maps is pointing to

How do you figure that? Please file a bug if there's a leak and I'll
check it out later.

Cheers,
Daniel

Attachment: signature.asc
Description: Digital signature

_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to