network-manager-applet/0002-fix-double-free-rh1585302.patch

31 lines
912 B
Diff

From 2c3ad506c6607cef922b97919b6250a1243cc57e Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
Date: Tue, 29 May 2018 22:05:07 +0200
Subject: [PATCH 1/1] NMNetworkMenuItem: Don't double-free priv->dupes
https://bugs.archlinux.org/task/58767
https://gitlab.gnome.org/GNOME/network-manager-applet/merge_requests/2
Fixes: 15ac92e6a42317e86ffb6d52a9ce5cacbf9e8c87
(cherry picked from commit 40a6dd2f22c32ec668287d019ef6667c297d17ec)
---
src/ap-menu-item.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/ap-menu-item.c b/src/ap-menu-item.c
index 92953c04..7d614f45 100644
--- a/src/ap-menu-item.c
+++ b/src/ap-menu-item.c
@@ -327,7 +327,6 @@ finalize (GObject *object)
g_free (priv->ssid_string);
g_slist_free_full (priv->dupes, g_free);
- g_slist_free (priv->dupes);
G_OBJECT_CLASS (nm_network_menu_item_parent_class)->finalize (object);
}
--
2.17.0