From 2dfc898d1a3927fa01de0f2afe72864f30a1ca58 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 6 Jul 2011 09:39:08 +0200 Subject: s3: Follow the TALLOC_FREE convention in source3 Autobuild-User: Volker Lendecke Autobuild-Date: Wed Jul 6 11:01:05 CEST 2011 on sn-devel-104 --- source3/lib/util_sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- cgit