summaryrefslogtreecommitdiff
path: root/src/XIFreeEvent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XIFreeEvent.c')
-rw-r--r--src/XIFreeEvent.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/XIFreeEvent.c b/src/XIFreeEvent.c
index 053cd2e..004b9e4 100644
--- a/src/XIFreeEvent.c
+++ b/src/XIFreeEvent.c
@@ -52,5 +52,8 @@ XIFreeEventData(XIEvent *event)
case XI_DeviceChanged:
free(((XIDeviceChangedEvent*)event)->classes);
break;
+ case XI_HierarchyChanged:
+ free(((XIDeviceHierarchyEvent*)event)->info);
+ break;
}
}