diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/eventcomm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eventcomm.c b/src/eventcomm.c index b811da7..c930f6a 100644 --- a/src/eventcomm.c +++ b/src/eventcomm.c @@ -126,7 +126,7 @@ UninitializeTouch(InputInfoPtr pInfo) proto_data->last_mt_vals = NULL; } - mtdev_close(proto_data->mtdev); + mtdev_close_delete(proto_data->mtdev); proto_data->mtdev = NULL; proto_data->num_touches = 0; } @@ -878,7 +878,7 @@ event_query_touch(InputInfoPtr pInfo) } out: - mtdev_close(mtdev); + mtdev_close_delete(mtdev); } #endif |