summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-07-06 09:39:08 +0200
committerVolker Lendecke <vlendec@samba.org>2011-07-06 11:01:05 +0200
commit2dfc898d1a3927fa01de0f2afe72864f30a1ca58 (patch)
tree454acfaffbd1e54a15cf7850a21ebf6909a82caf /source3/lib
parent6fcb3bbdae835f513e5c539eddb437f2ae4c1c88 (diff)
downloadsamba-2dfc898d1a3927fa01de0f2afe72864f30a1ca58.tar.gz
samba-2dfc898d1a3927fa01de0f2afe72864f30a1ca58.tar.bz2
samba-2dfc898d1a3927fa01de0f2afe72864f30a1ca58.zip
s3: Follow the TALLOC_FREE convention in source3
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jul 6 11:01:05 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/lib')
-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));