1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

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
This commit is contained in:
Volker Lendecke 2011-07-06 09:39:08 +02:00 committed by Volker Lendecke
parent 6fcb3bbdae
commit 2dfc898d1a

View File

@ -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));