Auto merge of #1311 - ebfull:cleanup-pp, r=ebfull

Deallocate the public parameters during Shutdown.

This also has it deallocated in `GenerateParams` and `test_bitcoin`. The virtual destructor probably isn't necessary but I added it just in case we need it some other time.
This commit is contained in:
zkbot
2016-09-02 03:03:45 +00:00
5 changed files with 10 additions and 2 deletions

View File

@@ -43,6 +43,7 @@ BasicTestingSetup::BasicTestingSetup()
BasicTestingSetup::~BasicTestingSetup()
{
ECC_Stop();
delete pzcashParams;
}
TestingSetup::TestingSetup()