mirror of
https://github.com/QuasarApp/qca.git
synced 2025-05-06 15:59:34 +00:00
Fix memory leak in keybundle unittest
This commit is contained in:
parent
3242caee6a
commit
c68a5e449f
@ -135,7 +135,7 @@ void KeyBundleTest::privKey()
|
|||||||
}
|
}
|
||||||
void KeyBundleTest::createBundle()
|
void KeyBundleTest::createBundle()
|
||||||
{
|
{
|
||||||
QCA::KeyBundle *newBundle = new QCA::KeyBundle;
|
QScopedPointer<QCA::KeyBundle> newBundle(new QCA::KeyBundle);
|
||||||
|
|
||||||
QVERIFY( newBundle->isNull() );
|
QVERIFY( newBundle->isNull() );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user