[PATCH libXi] Use a separate nclasses variable in XIQueryDevice

Daniel Stone daniel at fooishbar.org
Tue Sep 27 17:33:11 PDT 2011


Hi,

On 23 September 2011 00:08, Peter Hutterer <peter.hutterer at who-t.net> wrote:
>         lib->classes = Xmalloc(size_classes((xXIAnyInfo*)ptr, lib->num_classes));

I think this should be nclasses instead of lib->num_classes, no?

With that:
Reviewed-by: Daniel Stone <daniel at fooishbar.org>

Cheers,
Daniel


More information about the xorg-devel mailing list