diff options
Diffstat (limited to 'Xi/xiproperty.c')
-rw-r--r-- | Xi/xiproperty.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Xi/xiproperty.c b/Xi/xiproperty.c index ecb326ee3..ea66c54c6 100644 --- a/Xi/xiproperty.c +++ b/Xi/xiproperty.c @@ -622,6 +622,8 @@ XIDeleteAllDeviceProperties (DeviceIntPtr device) XIDestroyDeviceProperty(prop); } + device->properties.properties = NULL; + /* Now free all handlers */ curr_handler = device->properties.handlers; while(curr_handler) |