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:
parent
6fcb3bbdae
commit
2dfc898d1a
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user