diff options
author | rbuj <[email protected]> | 2021-02-01 17:02:07 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-03-27 13:31:34 +0100 |
commit | 4f1c294478e0cb6abe72000247f8769a08ef51f2 (patch) | |
tree | eb964108c770d583a45811c6feaa5ca53785112e | |
parent | c7ceff5971b52c440e0f7731d94c0d8dbff9da84 (diff) | |
download | mate-settings-daemon-4f1c294478e0cb6abe72000247f8769a08ef51f2.tar.bz2 mate-settings-daemon-4f1c294478e0cb6abe72000247f8769a08ef51f2.tar.xz |
media-keys: memory leak
-rw-r--r-- | plugins/media-keys/msd-media-keys-manager.c | 2 |
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 c4076a4..e39ca74 100644 --- a/plugins/media-keys/msd-media-keys-manager.c +++ b/plugins/media-keys/msd-media-keys-manager.c @@ -617,7 +617,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; |