提交 7e38ea25 编写于 作者: N Namjae Jeon

cifsd: move ret check before the out label

Move ret check before the out label.
Reviewed-by: NDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: NNamjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: NSteve French <stfrench@microsoft.com>
上级 fd43cbbe
......@@ -311,9 +311,9 @@ static int calc_ntlmv2_hash(struct ksmbd_session *sess, char *ntlmv2_hash,
}
ret = crypto_shash_final(CRYPTO_HMACMD5(ctx), ntlmv2_hash);
out:
if (ret)
ksmbd_debug(AUTH, "Could not generate md5 hash\n");
out:
kfree(uniname);
kfree(domain);
ksmbd_release_crypto_ctx(ctx);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册