Skip to content
  • Guido Gunther's avatar
    fbd-dev-leds: Use automatic deep cleanup for device list · 4c30fafc
    Guido Gunther authored and Guido Gunther's avatar Guido Gunther committed
    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.
    4c30fafc