Commit 4e202815 authored by Nick Mathewson's avatar Nick Mathewson 🏃
Browse files

Fix an NSS socket leak-on-error found by dgoulet

parent d6c564e0
......@@ -452,6 +452,7 @@ tor_tls_release_socket(tor_tls_t *tls)
PRFileDesc *tcp = PR_GetIdentitiesLayer(tls->ssl, PR_NSPR_IO_LAYER);
if (BUG(! tcp)) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment