Skip to content

Commit f701f96

Browse files
committed
session client BUGFIX session wthout transport freeing
Fixes CESNET/netopeer2#1136
1 parent 3dab46d commit f701f96

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/session_client_tls.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,7 @@ nc_connect_libssl(SSL *tls, struct ly_ctx *ctx)
759759
return session;
760760

761761
fail:
762+
session->ti_type = NC_TI_NONE;
762763
session->ti.tls = NULL;
763764
nc_session_free(session, NULL);
764765
return NULL;

0 commit comments

Comments
 (0)