Message ID | 4B175252.6070607@suse.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 63ea83f..04047e7 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -1672,7 +1672,8 @@ cifs_put_tcon(struct cifsTconInfo *tcon) _FreeXid(xid); tconInfoFree(tcon); - cifs_put_smb_ses(ses); + if (ses) + cifs_put_smb_ses(ses); } int