GNOME Bugzilla – Bug 756261
MetaIdleMonitorNative: fix leak
Last modified: 2016-05-11 13:32:43 UTC
A user-active watch would be leaked after firing it.
Created attachment 312924 [details] [review] MetaIdleMonitorNative: fix leak
Review of attachment 312924 [details] [review]: ::: src/backends/native/meta-idle-monitor-native.c @@ +201,3 @@ { _meta_idle_monitor_watch_fire (watch); + free_watch (watch); Should we simply use g_hash_table_foreach_remove instead?
This was fixed differently in bug 760476 by avoiding the g_hash_table_foreach_steal() which is what Jasper was arguing for here, I think. *** This bug has been marked as a duplicate of bug 760476 ***