mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45: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