summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
Diffstat (limited to 'udev')
-rw-r--r--udev/libinput-device-group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/libinput-device-group.c b/udev/libinput-device-group.c
index df06803d..0622ba33 100644
--- a/udev/libinput-device-group.c
+++ b/udev/libinput-device-group.c
@@ -139,7 +139,7 @@ wacom_handle_ekr(struct udev_device *device,
best_dist = dist;
free(*phys_attr);
- *phys_attr = strdup(phys);
+ *phys_attr = safe_strdup(phys);
}
}