xf86-input-aiptek: Changes to 'master'

Peter Hutterer whot at kemper.freedesktop.org
Tue Jun 28 17:26:46 PDT 2011


 src/xf86Aiptek.c |   21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)

New commits:
commit dc276f43b3ad03437635cc125de5905ec403c15d
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Wed Jun 29 09:58:40 2011 +1000

    Remove references to other devices after shutdown.
    
    deviceArray keeps a ref to each InputInfoPtr this driver (on this device)
    handles. These need to be unset and removed, otherwise an event coming in
    after the shutdown of one device may dereference an invalid pointer.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

commit 62413b8a00a837d28b6135d752ed5bdb0aa3f162
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Wed Jun 29 09:47:17 2011 +1000

    Don't rely on freed memory to keep values.
    
    Setting Capacity to a magic value, then freeing the struct and hoping that
    the next Uninit call still has the right value in it is hopeful at best.
    Use the refcounting that we already have in the driver instead.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>



More information about the xorg-commit mailing list