[network-manager-applet/nm-1-4] NMNetworkMenuItem: Don't double-free priv->dupes
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet/nm-1-4] NMNetworkMenuItem: Don't double-free priv->dupes
- Date: Fri, 1 Jun 2018 15:55:14 +0000 (UTC)
commit 0925900b6fe659a8c24daaab73313d6cb7f3b2c5
Author: Jan Alexander Steffens (heftig) <jan steffens gmail com>
Date: Tue May 29 22:05:07 2018 +0200
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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]