about summary refs log tree commit diff
path: root/src/core/dhcp
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-12-18 21:32:59 +0100
committerMichael Biebl <biebl@debian.org>2022-12-18 21:32:59 +0100
commitf08ae1668e2f4f5ad4649eb7e47730625026bca2 (patch)
treec836083cba838563c5b333696b796cf28a6a1b0b /src/core/dhcp
parentbfd2ca916ff5aa53d394178c3beeb17680a0e2c5 (diff)
parent2965dc70bb3cbfa8de2f279761812b84b87600cb (diff)
Update upstream source from tag 'upstream/1.40.8'
Update to upstream version '1.40.8'
with Debian dir 5c809f5de1842697051e414edf8c873684b9b3fe
Diffstat (limited to 'src/core/dhcp')
-rw-r--r--src/core/dhcp/nm-dhcp-helper.c2
1 files changed, 1 insertions, 1 deletions
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. */
     }