From fe1f5871c8c77796dbb92fe9bf2a2100e9755eeb Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Thu, 14 Jun 2018 10:41:47 +0200 Subject: [PATCH] device: fix crash during reapply Fixes: bf3b3d444c7750a68a0771d99f48e663815e258e --- src/devices/nm-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 828ce3eb2b..ee49b623c4 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -10529,7 +10529,7 @@ check_and_reapply_connection (NMDevice *self, if (diffs) { NMConnection *connection_clean = connection; - gs_free NMConnection *connection_clean_free = NULL; + gs_unref_object NMConnection *connection_clean_free = NULL; { NMSettingConnection *s_con_a, *s_con_n;