Commit 3a2c60e7 by Carlos Martín Nieto Committed by Aki Koskinen

ssl: clear the OpenSSL locking function

We're freeing the memory which holds the locks so we must make sure that
the locking function doesn't try to use it.
parent 9c046353
......@@ -64,6 +64,7 @@ void openssl_locking_function(int mode, int n, const char *file, int line)
static void shutdown_ssl(void)
{
CRYPTO_set_locking_callback(NULL);
git__free(openssl_locks);
}
#endif
......
Markdown is supported
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