mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 12:10:15 +01:00
dhcp: assert that resources are freed in NMDhcpClient.dispose()
This commit is contained in:
parent
600467b96f
commit
ea13cff76c
1 changed files with 4 additions and 0 deletions
|
|
@ -1206,6 +1206,10 @@ dispose(GObject *object)
|
|||
nm_clear_g_source_inst(&priv->ipv6_lladdr_timeout_source);
|
||||
nm_clear_pointer(&priv->effective_client_id, g_bytes_unref);
|
||||
|
||||
nm_assert(!priv->watch_source);
|
||||
nm_assert(!priv->l3cd);
|
||||
nm_assert(priv->l3cfg_notify.id == 0);
|
||||
|
||||
G_OBJECT_CLASS(nm_dhcp_client_parent_class)->dispose(object);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue