diff options
Diffstat (limited to 'src/nm-l3-ipv4ll.c')
-rw-r--r-- | src/nm-l3-ipv4ll.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nm-l3-ipv4ll.c b/src/nm-l3-ipv4ll.c index dea9cd3aee..fe76b96955 100644 --- a/src/nm-l3-ipv4ll.c +++ b/src/nm-l3-ipv4ll.c @@ -1028,6 +1028,9 @@ nm_l3_ipv4ll_unref(NML3IPv4LL *self) if (--self->ref_count > 0) return; + if (nm_l3cfg_get_ipv4ll(self->l3cfg) == self) + _nm_l3cfg_unregister_ipv4ll(self->l3cfg); + _LOGT("finalize"); nm_assert(c_list_is_empty(&self->reg_lst_head)); |