Fix memory leak.

This commit is contained in:
JoelKatz
2013-04-09 20:25:12 -07:00
parent aad99f4955
commit 45915d262e

View File

@@ -153,6 +153,7 @@ EC_KEY* CKey::GenerateRootPubKey(BIGNUM* pubGenerator)
EC_KEY_free(pkey);
return NULL;
}
EC_POINT_free(pubPoint);
return pkey;
}