diff --git a/fs/cifs/cifsencrypt.c b/fs/cifs/cifsencrypt.c index 7c9809523f428a1cf3a31128d32d0d101152e2f6..7efe1745494d10a4968ef09f308af577d6ccc1c9 100644 --- a/fs/cifs/cifsencrypt.c +++ b/fs/cifs/cifsencrypt.c @@ -373,6 +373,7 @@ static int calc_ntlmv2_hash(struct cifsSesInfo *ses, compare with the NTLM example */ hmac_md5_final(ses->server->ntlmv2_hash, pctxt); + kfree(pctxt); return rc; }