Free (ref-counted) private key.

This commit is contained in:
Tom Hughes 2010-12-23 15:49:55 -06:00 committed by Ryan Dahl
parent 8275d7cd34
commit 54b1f8028a

View File

@ -177,8 +177,8 @@ Handle<Value> SecureContext::SetKey(const Arguments& args) {
} }
SSL_CTX_use_PrivateKey(sc->ctx_, key); SSL_CTX_use_PrivateKey(sc->ctx_, key);
EVP_PKEY_free(key);
BIO_free(bio); BIO_free(bio);
// XXX Free key?
return True(); return True();
} }