[Kexi-devel] [Differential] [Request, 128 lines] D915: Fix Memory leaks in KDb, improve utils

staniek (Jarosław Staniek) noreply at phabricator.kde.org
Fri Feb 5 15:08:30 UTC 2016


staniek created this revision.
staniek added reviewers: piggz, wicik, wkosowicz.
staniek added a subscriber: Kexi-Devel-list.
staniek added a project: Kexi.
Herald added a project: KDb.

REVISION SUMMARY
  - Make AutodeletedHash delete items if needed for clear(), erase() and insert(), add more docs
  - Fix memory leak in PropertyKDbUtils::Property::insert(): reuse previous object if needed
  - Fix memory leak in Json Trader: delete plugin loaders that are skipped
  - Remember created driver instances (this allows to reuse drivers and fixes memory leaks)
  - Driver manager: remove no longer needed plugin loaders (fixes memory leak)
  - Driver manager: remove driver metadata objects on exit (fixes memory leak)

TEST PLAN
  cd builddir; ctest

REPOSITORY
  rKDB KDb

BRANCH
  master

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

AFFECTED FILES
  src/KDbDriverManager.cpp
  src/tools/KDbJsonTrader_p.cpp
  src/tools/KDbJsonTrader_p.h
  src/tools/KDbUtils.cpp
  src/tools/KDbUtils.h

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: staniek, piggz, wicik, wkosowicz
Cc: Kexi-Devel-list, wicik, staniek


More information about the Kexi-devel mailing list