1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

s3:smb2_server: talloc smbd_smb2_request_pending_state on smbXsrv_connection

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Stefan Metzmacher 2014-06-11 11:22:16 +02:00 committed by Michael Adam
parent c02afe66eb
commit a319b89687

View File

@ -1469,7 +1469,7 @@ static void smbd_smb2_request_pending_timer(struct tevent_context *ev,
* of this fact sometime when refactoring. JRA.
*/
state = talloc_zero(req->sconn, struct smbd_smb2_request_pending_state);
state = talloc_zero(req->xconn, struct smbd_smb2_request_pending_state);
if (state == NULL) {
smbd_server_connection_terminate(req->sconn,
nt_errstr(NT_STATUS_NO_MEMORY));