summary refs log tree commit diff
path: root/src/core/ndisc
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2023-01-11 13:39:59 +0100
committerMichael Biebl <biebl@debian.org>2023-01-11 13:39:59 +0100
commit5d9e3721ad196595acd064e0d3ce66edc2613e51 (patch)
tree6480cd1117dca38cc1e38915cfc34e81d0f899d5 /src/core/ndisc
parent2965dc70bb3cbfa8de2f279761812b84b87600cb (diff)
New upstream version 1.40.10 upstream/1.40.10
Diffstat (limited to 'src/core/ndisc')
-rw-r--r--src/core/ndisc/nm-fake-ndisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ndisc/nm-fake-ndisc.c b/src/core/ndisc/nm-fake-ndisc.c
index 5aea273e..59bf0c1b 100644
--- a/src/core/ndisc/nm-fake-ndisc.c
+++ b/src/core/ndisc/nm-fake-ndisc.c
@@ -358,7 +358,7 @@ NMNDisc *
 nm_fake_ndisc_new(NML3Cfg *l3cfg)
 {
     const NMNDiscConfig config = {
-        .l3cfg                        = g_object_ref(NM_L3CFG(l3cfg)),
+        .l3cfg                        = NM_L3CFG(l3cfg),
         .ifname                       = nm_l3cfg_get_ifname(l3cfg, TRUE),
         .node_type                    = NM_NDISC_NODE_TYPE_HOST,
         .stable_type                  = NM_UTILS_STABLE_TYPE_UUID,