diff options
Diffstat (limited to 'src/XListDProp.c')
-rw-r--r-- | src/XListDProp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XListDProp.c b/src/XListDProp.c index bde6cb5..55f3c51 100644 --- a/src/XListDProp.c +++ b/src/XListDProp.c @@ -51,7 +51,7 @@ XListDeviceProperties(Display* dpy, XDevice* dev, int *nprops_return) LockDisplay(dpy); *nprops_return = 0; if (_XiCheckExtInit(dpy, XInput_Initial_Release, info) == -1) - goto cleanup; + return NULL; GetReq(ListDeviceProperties, req); req->reqType = info->codes->major_opcode; |