summaryrefslogtreecommitdiffstats
path: root/source4/smb_server/conn.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smb_server/conn.c')
-rw-r--r--source4/smb_server/conn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/conn.c b/source4/smb_server/conn.c
index c70ed95915c..427add0aa23 100644
--- a/source4/smb_server/conn.c
+++ b/source4/smb_server/conn.c
@@ -69,7 +69,7 @@ struct smbsrv_tcon *smbsrv_tcon_new(struct smbsrv_connection *smb_conn)
struct smbsrv_tcon *tcon;
int i;
- tcon = talloc_zero_p(smb_conn, struct smbsrv_tcon);
+ tcon = talloc_zero(smb_conn, struct smbsrv_tcon);
if (!tcon) return NULL;
i = idr_get_new(smb_conn->tree.idtree_tid, tcon, UINT16_MAX);