Fix #66952: memory leak in openssl_open()