git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
loop: fix NULL dereference if mount fails
[safe/jmp/linux-2.6]
/
fs
/
cifs
/
cifsencrypt.c
diff --git
a/fs/cifs/cifsencrypt.c
b/fs/cifs/cifsencrypt.c
index
7c98095
..
7efe174
100644
(file)
--- a/
fs/cifs/cifsencrypt.c
+++ b/
fs/cifs/cifsencrypt.c
@@
-373,6
+373,7
@@
calc_exit_2:
compare with the NTLM example */
hmac_md5_final(ses->server->ntlmv2_hash, pctxt);
+ kfree(pctxt);
return rc;
}