D20970: Clean up Handler factory API

Daniel Vrátil noreply at phabricator.kde.org
Thu May 2 21:07:18 BST 2019


dvratil created this revision.
Herald added a project: KDE PIM.
Herald added a subscriber: kde-pim.
dvratil requested review of this revision.

REVISION SUMMARY
  Construct new handlers as unique_ptrs to avoid memory leaks if
  an exception is thrown.

REPOSITORY
  R165 Akonadi

BRANCH
  master

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

AFFECTED FILES
  autotests/server/handlertest.cpp
  src/server/connection.cpp
  src/server/connection.h
  src/server/handler.cpp
  src/server/handler.h

To: dvratil
Cc: kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20190502/87cae47b/attachment.html>


More information about the kde-pim mailing list