Skip to content

Commit

Permalink
tls: fix deadlock in error path
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Dec 16, 2024
1 parent d50cf36 commit 8857845
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/sp/transport/tls/tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,6 @@ tlstran_dial_cb(void *arg)

error:
// Error connecting. We need to pass this straight back to the user.
nni_mtx_lock(&ep->mtx);
if ((aio = ep->useraio) != NULL) {
ep->useraio = NULL;
nni_aio_finish_error(aio, rv);
Expand Down

0 comments on commit 8857845

Please sign in to comment.