Quantcast
Channel: feedbackd:587cbf31889f1e26d818e36915cfe0577dc0272f commits
Viewing all articles
Browse latest Browse all 40

fbd-dev-leds: Use automatic deep cleanup for device list

$
0
0
The current logic was fragile and failed e.g. when the FEEDBACKD_UDEV_VAL_LED would not match leaking the dev since the g_object_unref() at the end of the loop was never hit. Prevent that with automatic cleanup and explicitly ref'ing the devs we want to use.

Viewing all articles
Browse latest Browse all 40

Trending Articles