Commit 765e56e4 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

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()
parents 4941a177 3184b6a5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);