diff options
Diffstat (limited to 'source4/smb_server/password.c')
-rw-r--r-- | source4/smb_server/password.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/password.c b/source4/smb_server/password.c index 492f5700ad..c302f65980 100644 --- a/source4/smb_server/password.c +++ b/source4/smb_server/password.c @@ -101,7 +101,7 @@ uint16_t smbsrv_register_session(struct smbsrv_connection *smb_conn, { struct smbsrv_session *sess = NULL; - sess = talloc_p(smb_conn->mem_ctx, struct smbsrv_session); + sess = talloc_p(smb_conn, struct smbsrv_session); if(sess == NULL) { DEBUG(0,("talloc_p(smb_conn->mem_ctx, struct smbsrv_session) failed\n")); return UID_FIELD_INVALID; |