Fix a few simple leaks inside twtest; fix some file permissions that got set wrong in last commit

This commit is contained in:
Brian Cox 2017-08-25 18:28:09 -07:00
parent b3bcdbbcd9
commit 55020401d9
8 changed files with 6 additions and 1 deletions

0
src/core/displayencoder.cpp Executable file → Normal file
View File

0
src/core/hashtable.h Executable file → Normal file
View File

0
src/twparser/yylex.cpp Executable file → Normal file
View File

0
src/twparser/yyparse.cpp Executable file → Normal file
View File

View File

@ -407,6 +407,8 @@ void TestCrypto()
delete pPublic;
delete pPrivate;
delete pPublic2;
delete pPrivate2;
}
}

View File

@ -127,6 +127,8 @@ void cTestFSPropDisplayer::Test()
d.TraceDebug("\n");
}
delete pPD;
delete pPDNew;
return;
}

View File

@ -107,8 +107,9 @@ void TestKeyFile()
elGamal.SetVerifying(keyfile2.GetPublicKey());
elGamal.ProcessBlock(ciphertext, recovered_text);
TEST(memcmp(recovered_text, plaintext, elGamal.GetBlockSizePlain()) == 0);
delete [] pMem;
}
// save to and read from disk

0
src/twtest/refcountobj_t.cpp Executable file → Normal file
View File