summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-01 17:02:07 +0100
committerLuke from DC <[email protected]>2021-02-23 06:10:14 +0000
commit15ace91a37da116f7b08481539c19958e4ef7da9 (patch)
tree24fc06830dcaaf4a2c254d70fc65a90e564354e0 /plugins
parent667f7638a449dc0074b57898af60516201a90767 (diff)
downloadmate-settings-daemon-15ace91a37da116f7b08481539c19958e4ef7da9.tar.bz2
mate-settings-daemon-15ace91a37da116f7b08481539c19958e4ef7da9.tar.xz
media-keys: memory leak
Diffstat (limited to 'plugins')
-rw-r--r--plugins/media-keys/msd-media-keys-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/media-keys/msd-media-keys-manager.c b/plugins/media-keys/msd-media-keys-manager.c
index fe33351..750acf5 100644
--- a/plugins/media-keys/msd-media-keys-manager.c
+++ b/plugins/media-keys/msd-media-keys-manager.c
@@ -616,7 +616,7 @@ do_eject_action (MsdMediaKeysManager *manager)
if (fav_drive != NULL)
fav_drive = g_object_ref (fav_drive);
- g_list_foreach (drives, (GFunc) g_object_unref, NULL);
+ g_list_free_full (drives, g_object_unref);
if (fav_drive == NULL)
return;