4
0
mirror of https://github.com/QuasarApp/qca.git synced 2025-05-01 21:59:34 +00:00

Fix memory leak in keybundle unittest

This commit is contained in:
Albert Astals Cid 2020-06-22 21:54:12 +02:00
parent 3242caee6a
commit c68a5e449f

@ -135,7 +135,7 @@ void KeyBundleTest::privKey()
}
void KeyBundleTest::createBundle()
{
QCA::KeyBundle *newBundle = new QCA::KeyBundle;
QScopedPointer<QCA::KeyBundle> newBundle(new QCA::KeyBundle);
QVERIFY( newBundle->isNull() );