diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-12-16 00:27:51 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-12-16 07:18:32 -0800 |
| commit | 1928588605343ed0406f109a56291e40a405fb40 (patch) | |
| tree | ca7f85b5a6bcf340df3d1fb5d7d4865483e1c7d7 /src/sp | |
| parent | ab460d51aee7cedd0a8d17553741b3a6dc836dc7 (diff) | |
| download | nng-1928588605343ed0406f109a56291e40a405fb40.tar.gz nng-1928588605343ed0406f109a56291e40a405fb40.tar.bz2 nng-1928588605343ed0406f109a56291e40a405fb40.zip | |
tls: fix deadlock in error path
Diffstat (limited to 'src/sp')
| -rw-r--r-- | src/sp/transport/tls/tls.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sp/transport/tls/tls.c b/src/sp/transport/tls/tls.c index 2f21919d..9a216f2b 100644 --- a/src/sp/transport/tls/tls.c +++ b/src/sp/transport/tls/tls.c @@ -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); |
