mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
Merge tag 'v6.18rc7-SMB-client-fix' of git://git.samba.org/sfrench/cifs-2.6
Pull smb client fix from Steve French: "smb client multiuser (with cifscreds) mount fix" * tag 'v6.18rc7-SMB-client-fix' of git://git.samba.org/sfrench/cifs-2.6: smb: client: fix memory leak in cifs_construct_tcon()
This commit is contained in:
@@ -4451,6 +4451,7 @@ cifs_construct_tcon(struct cifs_sb_info *cifs_sb, kuid_t fsuid)
|
|||||||
|
|
||||||
out:
|
out:
|
||||||
kfree(ctx->username);
|
kfree(ctx->username);
|
||||||
|
kfree(ctx->domainname);
|
||||||
kfree_sensitive(ctx->password);
|
kfree_sensitive(ctx->password);
|
||||||
kfree(origin_fullpath);
|
kfree(origin_fullpath);
|
||||||
kfree(ctx);
|
kfree(ctx);
|
||||||
|
|||||||
Reference in New Issue
Block a user