gensec: clarify memory ownership for gensec_session_info() and gensec_session_key()
[samba.git] / source4 / smb_server / smb2 / sesssetup.c
index 94fe0da..60e5500 100644 (file)
@@ -79,7 +79,7 @@ static void smb2srv_sesssetup_callback(struct tevent_req *subreq)
                goto failed;
        }
 
-       status = gensec_session_info(smb_sess->gensec_ctx, &session_info);
+       status = gensec_session_info(smb_sess->gensec_ctx, smb_sess, &session_info);
        if (!NT_STATUS_IS_OK(status)) {
                goto failed;
        }