mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +00:00
idle-monitor: Fix a GSList leak
https://bugzilla.gnome.org/show_bug.cgi?id=712833
This commit is contained in:
parent
fbbc32422e
commit
dc5bc3fea8
@ -842,6 +842,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