cifs: fix potential double free during failed mount
authorRonnie Sahlberg <lsahlber@redhat.com>
Tue, 31 May 2022 03:01:17 +0000 (13:01 +1000)
committerSteve French <stfrench@microsoft.com>
Tue, 31 May 2022 04:04:58 +0000 (23:04 -0500)
commit8378a51e3f8140f60901fb27208cc7a6e47047b5
tree013e12b93acd3e9ec0380f8b2c84d561b39eec01
parentbf272460d744112bacd4c4d562592decbf0edf64
cifs: fix potential double free during failed mount

RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=2088799

Cc: stable@vger.kernel.org
Signed-off-by: Roberto Bergantinos <rbergant@redhat.com>
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsfs.c