From 2965dc70bb3cbfa8de2f279761812b84b87600cb Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sun, 18 Dec 2022 21:31:39 +0100 Subject: New upstream version 1.40.8 --- src/core/dhcp/nm-dhcp-helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/dhcp') diff --git a/src/core/dhcp/nm-dhcp-helper.c b/src/core/dhcp/nm-dhcp-helper.c index 78db617c..213d9496 100644 --- a/src/core/dhcp/nm-dhcp-helper.c +++ b/src/core/dhcp/nm-dhcp-helper.c @@ -252,7 +252,7 @@ do_notify: success = FALSE; out: - if (!g_dbus_connection_flush_sync(connection, NULL, &error_flush)) { + if (connection && !g_dbus_connection_flush_sync(connection, NULL, &error_flush)) { _LOGE("could not flush D-Bus connection: %s", error_flush->message); /* if we considered this a success so far, don't fail because of this. */ } -- cgit 1.3.0-6-gf8a5