cifs: fix memory leak in SMB2_open()

commit b7a73c84eb upstream.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
[bwh: Backported to 3.16: Only one of the failure paths exists here]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Ronnie Sahlberg 2018-02-13 15:42:30 +11:00 • committed by Ben Hutchings
commit ac73160915