diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-06-28 00:57:57 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-06-28 00:57:57 +1000 |
commit | 7efc947e3cb2fe254f5b44bd1a0f4629fb777a95 (patch) | |
tree | 0b1d2daab233dec66152a1883597b4ef694ffe3d | |
parent | d23472b709fafd48f8403e6ea97918c06cc3caaf (diff) |
Don't reset the stored device's private
Storing references to the finger/stylus pInfo is dangerous as-is,
but accessing them during the UnInit is suboptimal. This pInfo may have
been freed already.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/xf86MuTouch.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/xf86MuTouch.c b/src/xf86MuTouch.c index d382b19..290fa11 100644 --- a/src/xf86MuTouch.c +++ b/src/xf86MuTouch.c @@ -1044,8 +1044,6 @@ xf86MuTUninit(InputDriverPtr drv, MuTPrivatePtr priv = (MuTPrivatePtr) pInfo->private; if (priv) { - priv->stylus->private = NULL; - priv->finger->private = NULL; free(priv->input_dev); free(priv); pInfo->private = NULL; |