summaryrefslogtreecommitdiff
path: root/src/XISelEv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XISelEv.c')
-rw-r--r--src/XISelEv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/XISelEv.c b/src/XISelEv.c
index bdc4fd1..3c1f018 100644
--- a/src/XISelEv.c
+++ b/src/XISelEv.c
@@ -161,6 +161,8 @@ XIGetSelectedEvents(Display* dpy, Window win, int *num_masks_return)
*num_masks_return = reply.num_masks;
+ Xfree(mask_in);
+
return mask_out;
error: