[PATCH OLK-6.6 2/2] smb: client: fix potential UAF and double free in smb2_open_file()