summaryrefslogtreecommitdiff
path: root/xserver/os
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2020-04-13 08:07:01 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2020-04-13 08:07:01 +0000
commit482328525369e54161ccc11c7a2ea4475aaa58fc (patch)
tree0b7b779c3aab9a33bf3ac34cbd75581bbecb9972 /xserver/os
parentc6893de69de1189cf7230e18ebfe8ebafb5ff2f0 (diff)
Update to xserver 1.20.8. ok jsg@ robert@
Diffstat (limited to 'xserver/os')
-rw-r--r--xserver/os/io.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xserver/os/io.c b/xserver/os/io.c
index b099f0967..939f51743 100644
--- a/xserver/os/io.c
+++ b/xserver/os/io.c
@@ -557,6 +557,11 @@ void
ResetCurrentRequest(ClientPtr client)
{
OsCommPtr oc = (OsCommPtr) client->osPrivate;
+
+ /* ignore dying clients */
+ if (!oc)
+ return;
+
register ConnectionInputPtr oci = oc->input;
register xReq *request;
int gotnow, needed;