mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-28 23:50:36 +01:00
libnm,dhcp: use nm_clear_g_free() instead of nm_clear_pointer(, g_free)
This commit is contained in:
parent
fc837cbb6f
commit
552aa962d7
2 changed files with 2 additions and 2 deletions
|
|
@ -2500,7 +2500,7 @@ nm_utils_tc_qdisc_from_str (const char *str, GError **error)
|
|||
break;
|
||||
}
|
||||
}
|
||||
nm_clear_pointer (&rest, g_free);
|
||||
nm_clear_g_free (&rest);
|
||||
|
||||
if (options) {
|
||||
value = g_hash_table_lookup (options, "");
|
||||
|
|
|
|||
|
|
@ -1461,7 +1461,7 @@ dispose (GObject *object)
|
|||
{
|
||||
NMDhcpNettoolsPrivate *priv = NM_DHCP_NETTOOLS_GET_PRIVATE (object);
|
||||
|
||||
nm_clear_pointer (&priv->lease_file, g_free);
|
||||
nm_clear_g_free (&priv->lease_file);
|
||||
nm_clear_g_source_inst (&priv->event_source);
|
||||
nm_clear_pointer (&priv->lease, n_dhcp4_client_lease_unref);
|
||||
nm_clear_pointer (&priv->probe, n_dhcp4_client_probe_free);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue