[epiphany/wip/exalm/firefox-import: 1/3] window-commands: Fix a leak when gathering Firefox profiles
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/exalm/firefox-import: 1/3] window-commands: Fix a leak when gathering Firefox profiles
- Date: Tue, 30 Nov 2021 19:22:04 +0000 (UTC)
commit 0091ce54c1481b1a20aee8b76057715f430fb1a4
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue Nov 30 13:29:21 2021 +0500
window-commands: Fix a leak when gathering Firefox profiles
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1036>
src/window-commands.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/window-commands.c b/src/window-commands.c
index a6bc16b6b..0878fd8c8 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -210,7 +210,7 @@ firefox_exists (void)
firefox_profiles = get_firefox_profiles ();
has_firefox_profile = g_slist_length (firefox_profiles) > 0;
- g_slist_free (firefox_profiles);
+ g_slist_free_full (firefox_profiles, g_free);
return has_firefox_profile;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]