git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3-talloc Change TALLOC_P() to talloc()
[nivanova/samba-autobuild/.git]
/
source3
/
libsmb
/
namequery.c
diff --git
a/source3/libsmb/namequery.c
b/source3/libsmb/namequery.c
index f5f4a7c1dcb3eaed93d81000ebd38dfdb26afeb1..511eba4cbf3908ba31117d5fa2a7974b06461f98 100644
(file)
--- a/
source3/libsmb/namequery.c
+++ b/
source3/libsmb/namequery.c
@@
-2479,7
+2479,7
@@
NTSTATUS resolve_name_list(TALLOC_CTX *ctx,
*return_ss_arr = NULL;
if (is_ipaddress(name)) {
- *return_ss_arr =
TALLOC_P
(ctx, struct sockaddr_storage);
+ *return_ss_arr =
talloc
(ctx, struct sockaddr_storage);
if (!*return_ss_arr) {
return NT_STATUS_NO_MEMORY;
}