Skip to content

Commit 765e56e

Browse files
committed
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()
2 parents 4941a17 + 3184b6a commit 765e56e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

fs/smb/client/connect.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4451,6 +4451,7 @@ cifs_construct_tcon(struct cifs_sb_info *cifs_sb, kuid_t fsuid)
44514451

44524452
out:
44534453
kfree(ctx->username);
4454+
kfree(ctx->domainname);
44544455
kfree_sensitive(ctx->password);
44554456
kfree(origin_fullpath);
44564457
kfree(ctx);

0 commit comments

Comments
 (0)