summaryrefslogtreecommitdiff
path: root/src/network/networkd-address.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd-address.c')
-rw-r--r--src/network/networkd-address.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/network/networkd-address.c b/src/network/networkd-address.c
index 76febc7a07..1ba2108316 100644
--- a/src/network/networkd-address.c
+++ b/src/network/networkd-address.c
@@ -144,6 +144,8 @@ int address_drop(Address *address, Link *link,
return r;
}
+ link_ref(link);
+
return 0;
}
@@ -225,6 +227,8 @@ int address_update(Address *address, Link *link,
return r;
}
+ link_ref(link);
+
return 0;
}
@@ -373,6 +377,8 @@ int address_configure(Address *address, Link *link,
return r;
}
+ link_ref(link);
+
return 0;
}