mirror of
https://github.com/samba-team/samba.git
synced 2025-11-22 16:23:49 +03:00
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.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
1d1a9c11ee
commit
ec32b22ed5
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user