summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bsd_mouse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bsd_mouse.c b/src/bsd_mouse.c
index 886a6ff..ede7612 100644
--- a/src/bsd_mouse.c
+++ b/src/bsd_mouse.c
@@ -464,6 +464,7 @@ wsconsPreInit(InputInfoPtr pInfo, const char *protocol, int flags)
else {
xf86Msg(X_ERROR, "%s: cannot open input device\n", pInfo->name);
xfree(pMse);
+ pInfo->private = NULL;
return FALSE;
}
}