D16458: Fix memleaks in duchain unittests

Bernd Buschinski noreply at phabricator.kde.org
Sat Oct 27 15:16:04 BST 2018


buschinski created this revision.
buschinski added a reviewer: KDevelop.
Herald added a project: KDevelop.
Herald added a subscriber: kdevelop-devel.
buschinski requested review of this revision.

REVISION SUMMARY
  The TypeSystem::create test was changed as now the destruction is also taken into account for QBENCHMARK
  
  The TopDUContext dtor is protected, however you can execute
  delete TopDUContext; but it will NOT call the protected TopDUContext dtor but the public DUContext dtor.

TEST PLAN
  - compile kdevelop unitest with ASAN&LSAN
  - execute test_duchain

REPOSITORY
  R32 KDevelop

REVISION DETAIL
  https://phabricator.kde.org/D16458

AFFECTED FILES
  kdevplatform/language/duchain/tests/test_duchain.cpp

To: buschinski, #kdevelop
Cc: kdevelop-devel, glebaccon, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20181027/110d6e9d/attachment.html>


More information about the KDevelop-devel mailing list