summaryrefslogtreecommitdiff
path: root/src/xf86libinput.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xf86libinput.c')
-rw-r--r--src/xf86libinput.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xf86libinput.c b/src/xf86libinput.c
index 3ca7514..95e2d20 100644
--- a/src/xf86libinput.c
+++ b/src/xf86libinput.c
@@ -1122,6 +1122,8 @@ xf86libinput_parse_accel_profile_option(InputInfoPtr pInfo,
profile = libinput_device_config_accel_get_profile(device);
}
+ free(str);
+
return profile;
}
@@ -1586,6 +1588,7 @@ xf86libinput_uninit(InputDriverPtr drv,
if (driver_data) {
driver_context.libinput = libinput_unref(driver_context.libinput);
valuator_mask_free(&driver_data->valuators);
+ valuator_mask_free(&driver_data->valuators_unaccelerated);
free(driver_data->path);
free(driver_data);
pInfo->private = NULL;