Skip to content

color: Don't leak night light recheck GSource

Benjamin Berg requested to merge benzea/nightlight-source-leak into master

We probably want a new stable release ASAP for this fixup :-/

We have always been leaking the GSource which is re-created every minute to check the current night light state. Unfortunately, now that we are correctly using the timerfd, we not only leak some memory but also the file descriptor, causing major issues.

Fixes #91 (closed)

Merge request reports