xf86-input-libinput: Changes to 'master'

Peter Hutterer whot at kemper.freedesktop.org
Tue Nov 17 13:00:14 PST 2015


 src/xf86libinput.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 6fa5f30129ea770bcc5e50b0785a993a8254a418
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Tue Nov 17 14:59:22 2015 +1000

    Unref the libinput context on pre_init failure
    
    A device that fails pre_init has a ref to the libinput context but may not
    have a pInfo->private. For those devices we never call libinput_unref() and
    the libinput struct never gets freed.
    
    Thus if at least one device didn't pass pre_init, we never cleaned up after
    ourselves.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Hans de Goede <hdegoede at redhat.com>



More information about the xorg-commit mailing list