s3:smb2_server: talloc smbd_smb2_request_pending_state on smbXsrv_connection
authorStefan Metzmacher <metze@samba.org>
Wed, 11 Jun 2014 09:22:16 +0000 (11:22 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 6 Aug 2014 07:51:12 +0000 (09:51 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/smbd/smb2_server.c

index a6f083315230710d8380813493127301852fa357..b24d47c5260a1dd0a2e1630c6489196b5b2aa279 100644 (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));