Displaying 1 result from an estimated 1 matches for "hal_prop_hiddev_device".
2007 Jun 06
1
Possible error in drivers/main-hal.c
Looking at the above sources, it looks like the device_path is
configured twice:
509 device_path = xstrdup("auto"); /*getenv ("HAL_PROP_HIDDEV_DEVICE"); */
626 device_path = xstrdup(argv[0]);
Other than the fact that we leak a few bytes of memory here by using
xstrdup() twice without free'ing in between, I don't think this is what
we intended to do. It looks to me that the socket will now be named
'usbhid-ups-usbhid-ups',...