summaryrefslogtreecommitdiffstats
path: root/source/lib/socket/socket_unix.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-27 07:08:20 +0000
committerAndrew Tridgell <tridge@samba.org>2005-01-27 07:08:20 +0000
commit912b04a2d52b70a47cb781a8a60ef08b5146f1cf (patch)
tree7aaca5e6f6024c607b2c75bb0a61c76c7379dcd9 /source/lib/socket/socket_unix.c
parent37625e18bc832859ad0d3c0b54e88a4f8c864814 (diff)
downloadsamba-912b04a2d52b70a47cb781a8a60ef08b5146f1cf.tar.gz
samba-912b04a2d52b70a47cb781a8a60ef08b5146f1cf.tar.xz
samba-912b04a2d52b70a47cb781a8a60ef08b5146f1cf.zip
r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
large commit. I thought this was worthwhile to get done for consistency.
Diffstat (limited to 'source/lib/socket/socket_unix.c')
-rw-r--r--source/lib/socket/socket_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/socket/socket_unix.c b/source/lib/socket/socket_unix.c
index bdd68f9d9d9..e23aa0d97e9 100644
--- a/source/lib/socket/socket_unix.c
+++ b/source/lib/socket/socket_unix.c
@@ -162,7 +162,7 @@ static NTSTATUS unixdom_accept(struct socket_context *sock,
}
}
- (*new_sock) = talloc_p(NULL, struct socket_context);
+ (*new_sock) = talloc(NULL, struct socket_context);
if (!(*new_sock)) {
close(new_fd);
return NT_STATUS_NO_MEMORY;