Quantcast
Channel: feedbackd:11aa38baba49239506b28c05e44d40ff3ed40775 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