mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-21 06:36:27 +00:00
iscsi-scstd: Add missing list_del() in the session creation error path (merge r4569 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4579 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -144,6 +144,8 @@ out:
|
||||
return res;
|
||||
|
||||
out_free:
|
||||
list_del_init(&conn->clist);
|
||||
assert(list_empty(&session->conn_list));
|
||||
session_free(session);
|
||||
conn->sess = NULL;
|
||||
goto out;
|
||||
|
||||
Reference in New Issue
Block a user