Rui Matos
5e57af6286
idle-monitor-native: Don't leak user active watches
This fixes an issue analogous to bug 760330 for the X11 backend, except on this backend we wouldn't crash accessing free'd memory. Instead we're leaking watches since we steal them from the hash table which means that when they're removed in _meta_idle_monitor_watch_fire() they're no longer there and thus they're never free'd. https://bugzilla.gnome.org/show_bug.cgi?id=760476
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%