Enzo Matsumiya <ematsumiya@xxxxxxx> writes: > > Fix memory leaks from some ses fields when cifs_negotiate_protocol() or > cifs_setup_session() fails in cifs_get_smb_ses(). > > A leak from ses->domainName has also been identified in setup_ntlmv2_rsp() > when session setup fails. Those fields are already freed by sesInfoFree(). > These has been reported by kmemleak. Could you please include the report in commit message?