[PATCH 1/2] xrandr: Inline RRInitOutputPropertyValue called from single place

Jamey Sharp jamey at minilop.net
Sun Jun 6 10:13:01 PDT 2010


On 6/6/10, Mikhail Gusarov <dottedmag at dottedmag.net> wrote:
> -	free(prop->pending.data);
> -	RRInitOutputPropertyValue (&prop->pending);
> +        free(prop->pending.data);
> +        property_value->type = None;
> +        property_value->format = 0;
> +        property_value->size = 0;
> +        property_value->data = NULL;

Shouldn't that be prop->pending.type, and so on?

Jamey


More information about the xorg-devel mailing list