Fix memory leak.

This commit is contained in:
JoelKatz
2013-04-09 20:25:12 -07:00
parent 289e86483a
commit c93cd6e011

View File

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