mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix memory leak.
This commit is contained in:
@@ -153,6 +153,7 @@ EC_KEY* CKey::GenerateRootPubKey(BIGNUM* pubGenerator)
|
||||
EC_KEY_free(pkey);
|
||||
return NULL;
|
||||
}
|
||||
EC_POINT_free(pubPoint);
|
||||
|
||||
return pkey;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user