diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-02-13 21:41:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-02-13 21:41:11 +0000 |
commit | c8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (patch) | |
tree | c44943ee0563a3fa957716de909fed683117fcb9 /net-libs/libnma/files | |
parent | 69051588e2f955485fe5d45d45e616bc60a2de57 (diff) |
gentoo (valentine's day) resync : 14.02.2021
Diffstat (limited to 'net-libs/libnma/files')
-rw-r--r-- | net-libs/libnma/files/1.8.28-nma-ws-leak-fix.patch | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/net-libs/libnma/files/1.8.28-nma-ws-leak-fix.patch b/net-libs/libnma/files/1.8.28-nma-ws-leak-fix.patch deleted file mode 100644 index 8f2042a2568b..000000000000 --- a/net-libs/libnma/files/1.8.28-nma-ws-leak-fix.patch +++ /dev/null @@ -1,86 +0,0 @@ -From 55e33e4ce01c8b2b8dc98a5ee40a5636579cd577 Mon Sep 17 00:00:00 2001 -From: Beniamino Galvani <bgalvani@redhat.com> -Date: Sat, 11 Apr 2020 15:44:17 +0200 -Subject: [PATCH] nma-ws: properly dispose wireless security objects - -Chain up to parent to properly free resources on dispose(). - -Fixes: b61cc1b9fa040 ("nma-ws: add") - -https://gitlab.gnome.org/GNOME/libnma/-/issues/7 ---- - src/nma-ws/nma-ws-802-1x.c | 2 ++ - src/nma-ws/nma-ws-leap.c | 2 ++ - src/nma-ws/nma-ws-sae.c | 2 ++ - src/nma-ws/nma-ws-wep-key.c | 2 ++ - src/nma-ws/nma-ws-wpa-psk.c | 2 ++ - 5 files changed, 10 insertions(+) - -diff --git a/src/nma-ws/nma-ws-802-1x.c b/src/nma-ws/nma-ws-802-1x.c -index ba348266..0c148ce5 100644 ---- a/src/nma-ws/nma-ws-802-1x.c -+++ b/src/nma-ws/nma-ws-802-1x.c -@@ -482,6 +482,8 @@ dispose (GObject *object) - g_clear_pointer (&self->secrets_hints, g_strfreev); - g_clear_pointer (&self->username, g_free); - g_clear_pointer (&self->password, g_free); -+ -+ G_OBJECT_CLASS (nma_ws_802_1x_parent_class)->dispose (object); - } - - static void -diff --git a/src/nma-ws/nma-ws-leap.c b/src/nma-ws/nma-ws-leap.c -index f90d43aa..df6d2dde 100644 ---- a/src/nma-ws/nma-ws-leap.c -+++ b/src/nma-ws/nma-ws-leap.c -@@ -260,6 +260,8 @@ dispose (GObject *object) - NMAWsLeap *self = NMA_WS_LEAP (object); - - g_clear_object (&self->connection); -+ -+ G_OBJECT_CLASS (nma_ws_leap_parent_class)->dispose (object); - } - - static void -diff --git a/src/nma-ws/nma-ws-sae.c b/src/nma-ws/nma-ws-sae.c -index e3454bbd..00fb6ff5 100644 ---- a/src/nma-ws/nma-ws-sae.c -+++ b/src/nma-ws/nma-ws-sae.c -@@ -252,6 +252,8 @@ dispose (GObject *object) - NMAWsSae *self = NMA_WS_SAE (object); - - g_clear_object (&self->connection); -+ -+ G_OBJECT_CLASS (nma_ws_sae_parent_class)->dispose (object); - } - - static void -diff --git a/src/nma-ws/nma-ws-wep-key.c b/src/nma-ws/nma-ws-wep-key.c -index cae8c272..992aabf7 100644 ---- a/src/nma-ws/nma-ws-wep-key.c -+++ b/src/nma-ws/nma-ws-wep-key.c -@@ -404,6 +404,8 @@ dispose (GObject *object) - NMAWsWepKey *self = NMA_WS_WEP_KEY (object); - - g_clear_object (&self->connection); -+ -+ G_OBJECT_CLASS (nma_ws_wep_key_parent_class)->dispose (object); - } - - static void -diff --git a/src/nma-ws/nma-ws-wpa-psk.c b/src/nma-ws/nma-ws-wpa-psk.c -index 1c73922a..27604960 100644 ---- a/src/nma-ws/nma-ws-wpa-psk.c -+++ b/src/nma-ws/nma-ws-wpa-psk.c -@@ -270,6 +270,8 @@ dispose (GObject *object) - NMAWsWpaPsk *self = NMA_WS_WPA_PSK (object); - - g_clear_object (&self->connection); -+ -+ G_OBJECT_CLASS (nma_ws_wpa_psk_parent_class)->dispose (object); - } - - static void --- -2.20.1 - |