all: use nm_close() instead of close()

This commit is contained in:
Thomas Haller
2017-11-14 14:22:21 +01:00
parent f4780f85ae
commit 5b29c2e5b9
14 changed files with 40 additions and 40 deletions

View File

@@ -146,7 +146,7 @@ nmtstc_service_cleanup (NMTstcServiceInfo *info)
g_assert (i > 0);
g_object_unref (info->bus);
close (info->keepalive_fd);
nm_close (info->keepalive_fd);
#if ((NETWORKMANAGER_COMPILATION) == NM_NETWORKMANAGER_COMPILATION_LIB_LEGACY)
g_clear_pointer (&info->libdbus.bus, dbus_g_connection_unref);