[gnome-control-center/gnome-42] net-device-ethernet: Prevent double free
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-42] net-device-ethernet: Prevent double free
- Date: Wed, 12 Oct 2022 12:47:55 +0000 (UTC)
commit 6f6fcb463cfdbb37d78b225d0b5c79f80357ef02
Author: Alessandro Bono <alessandro bono369 gmail com>
Date: Wed Oct 12 13:56:19 2022 +0200
net-device-ethernet: Prevent double free
Fixes: ee53bfd8b6bbbd018fdd7a2b1ea33e5a44a1b43b
panels/network/net-device-ethernet.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/panels/network/net-device-ethernet.c b/panels/network/net-device-ethernet.c
index 18d483054..efa98a637 100644
--- a/panels/network/net-device-ethernet.c
+++ b/panels/network/net-device-ethernet.c
@@ -423,7 +423,6 @@ add_profile_button_clicked_cb (NetDeviceEthernet *self)
NULL);
} else {
g_warning ("Invalid interface Name '%s': %s", iface, error->message);
- g_error_free (error);
}
nm_connection_add_setting (connection, nm_setting_wired_new ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]