dhcp/systemd: fix unrefing lease after API change of sd_dhcp_client_get_lease()

sd_dhcp_client_get_lease() no longer refs the lease as of
e6b18ffaea

Fixes: c05557971c
This commit is contained in:
Thomas Haller
2015-09-17 12:01:40 +02:00
parent 597efc7687
commit ed5577f762

View File

@@ -474,7 +474,6 @@ bound4_handle (NMDhcpSystemd *self)
g_clear_error (&error);
}
sd_dhcp_lease_unref (lease);
g_hash_table_destroy (options);
g_clear_object (&ip4_config);
}