diff options
-rw-r--r-- | rcm-server-main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rcm-server-main.c b/rcm-server-main.c index 9adccbc..76622f3 100644 --- a/rcm-server-main.c +++ b/rcm-server-main.c @@ -962,6 +962,8 @@ add_device(struct manager *mgr, struct udev_device *udev) device->lirc_fd = -1; device->error = NULL; device->input_name = NULL; + device->driver_name = NULL; + device->keymap_name = NULL; if (keymaps_load(device) < 0) { fprintf(stderr, "failed to load keymaps: %m\n"); |