summaryrefslogtreecommitdiffstats
path: root/fs/cifs/link.c
diff options
context:
space:
mode:
authorPaulo Alcantara <pc@cjr.nz>2023-01-10 20:35:46 -0300
committerSteve French <stfrench@microsoft.com>2023-01-10 23:24:37 -0600
commit2fe58d977ee05da5bb89ef5dc4f5bf2dc15db46f (patch)
tree762d57d17801fac74445c5a8a19915d3898fdc5d /fs/cifs/link.c
parent22aeb01db7080e18c6aeb4361cc2556c9887099a (diff)
downloadlinux-2fe58d977ee05da5bb89ef5dc4f5bf2dc15db46f.tar.bz2
cifs: fix potential memory leaks in session setup
Make sure to free cifs_ses::auth_key.response before allocating it as we might end up leaking memory in reconnect or mounting. Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/link.c')
0 files changed, 0 insertions, 0 deletions