mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-26 03:24:31 +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()
|
||||
{
|
||||
QCA::KeyBundle *newBundle = new QCA::KeyBundle;
|
||||
QScopedPointer<QCA::KeyBundle> newBundle(new QCA::KeyBundle);
|
||||
|
||||
QVERIFY( newBundle->isNull() );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user