commit | f701f968e0bdb1a5d67bac6822cbef5f7bf36787 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Mon Jan 24 09:56:14 2022 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Mar 15 11:45:27 2022 +0100 |
tree | f83b8b5090ab716c41350b6318071f4c5ee052cc | |
parent | 3dab46dbe7acc85b09d1dd461dcd60f0dc126812 [diff] |
session client BUGFIX session wthout transport freeing Fixes cesnet/netopeer2#1136
diff --git a/src/session_client_tls.c b/src/session_client_tls.c index 94e8ac5..687d18f 100644 --- a/src/session_client_tls.c +++ b/src/session_client_tls.c
@@ -759,6 +759,7 @@ return session; fail: + session->ti_type = NC_TI_NONE; session->ti.tls = NULL; nc_session_free(session, NULL); return NULL;