summaryrefslogtreecommitdiff
path: root/src/transport/tcp_connection_legacy.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-05 16:32:34 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-05 16:32:34 +0200
commite31c1d4a9f78c4e31fda1f98fe349b33abdd01a2 (patch)
tree61df772a93f7f21af7c715ddd4b9a3f1a50e0509 /src/transport/tcp_connection_legacy.c
parent1437556645417e6302862845e7ebcbd4c9908357 (diff)
GNUNET_free_non_null -> GNUNET_free
Diffstat (limited to 'src/transport/tcp_connection_legacy.c')
-rw-r--r--src/transport/tcp_connection_legacy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/tcp_connection_legacy.c b/src/transport/tcp_connection_legacy.c
index 4e8c8140d..3e173b8a4 100644
--- a/src/transport/tcp_connection_legacy.c
+++ b/src/transport/tcp_connection_legacy.c
@@ -1088,8 +1088,8 @@ GNUNET_CONNECTION_destroy (struct GNUNET_CONNECTION_Handle *connection)
* leak the socket in this special case) ... */
}
}
- GNUNET_free_non_null (connection->addr);
- GNUNET_free_non_null (connection->hostname);
+ GNUNET_free (connection->addr);
+ GNUNET_free (connection->hostname);
GNUNET_free (connection->write_buffer);
GNUNET_free (connection);
}