mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-22 21:21:28 +00:00
Add forgotten list_del() on session creation error path
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4569 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