mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 21:02:14 +00:00
idle-monitor: Fix a GSList leak
https://bugzilla.gnome.org/show_bug.cgi?id=712833
This commit is contained in:
parent
a37a8c6497
commit
5ea443eb4b
@ -949,6 +949,8 @@ on_bus_acquired (GDBusConnection *connection,
|
||||
for (iter = devices; iter; iter = iter->next)
|
||||
on_device_added (device_manager, iter->data, manager);
|
||||
|
||||
g_slist_free (devices);
|
||||
|
||||
g_signal_connect_object (device_manager, "device-added",
|
||||
G_CALLBACK (on_device_added), manager, 0);
|
||||
g_signal_connect_object (device_manager, "device-removed",
|
||||
|
Loading…
Reference in New Issue
Block a user