summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/util_sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index 5154a83fec..867646bc50 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -1205,7 +1205,7 @@ int get_remote_hostname(const struct tsocket_address *remote_address,
gai_strerror(rc)));
strlcpy(name_buf, p, sizeof(name_buf));
- talloc_free(p);
+ TALLOC_FREE(p);
} else {
if (!matchname(name_buf, (struct sockaddr *)&ss, len)) {
DEBUG(0,("matchname failed on %s\n", name_buf));