diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2025-11-26 20:22:20 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2025-11-26 20:22:20 -0800 |
| commit | 765e56e41a5af2d456ddda6cbd617b9d3295ab4e (patch) | |
| tree | 92584f3340134f20de080007d2cc0dd60dbdc5b8 | |
| parent | 4941a17751c99e17422be743c02c923ad706f888 (diff) | |
| parent | 3184b6a5a24ec9ee74087b2a550476f386df7dc2 (diff) | |
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()
| -rw-r--r-- | fs/smb/client/connect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/smb/client/connect.c b/fs/smb/client/connect.c index 55cb4b0cbd48..2f94d93b95e9 100644 --- a/fs/smb/client/connect.c +++ b/fs/smb/client/connect.c @@ -4451,6 +4451,7 @@ cifs_construct_tcon(struct cifs_sb_info *cifs_sb, kuid_t fsuid) out: kfree(ctx->username); + kfree(ctx->domainname); kfree_sensitive(ctx->password); kfree(origin_fullpath); kfree(ctx); |
