Commit 914afcf5 authored by Steve French's avatar Steve French

[CIFS] Missing free in error path

Thanks to jra for pointing this out
Signed-off-by: default avatarJeremy Allison <jra@samba.org>
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent 9a0c8230
......@@ -207,8 +207,10 @@ dohash(char *out, char *in, char *key, int forw)
return;
ki = kmalloc(16*48, GFP_KERNEL);
if(ki == NULL)
if(ki == NULL) {
kfree(pk1);
return;
}
cd = pk1 + 56;
pd1= cd + 56;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment