summaryrefslogtreecommitdiff
path: root/source4/lib/socket/socket_ipv6.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/socket/socket_ipv6.c')
-rw-r--r--source4/lib/socket/socket_ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/socket/socket_ipv6.c b/source4/lib/socket/socket_ipv6.c
index 27e452b14e..1dd7fe8e9d 100644
--- a/source4/lib/socket/socket_ipv6.c
+++ b/source4/lib/socket/socket_ipv6.c
@@ -179,7 +179,7 @@ static NTSTATUS ipv6_tcp_accept(struct socket_context *sock, struct socket_conte
* --metze
*/
- (*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;