Fix memory leaks (found by ASAN)
ClosedPublic

Authored by dfaure on May 7 2019, 10:04 AM.

Details

Summary

They don't matter much in practice, except that they make an
ASAN-enabled build abort when protocolgen is running.

Test Plan

make protocolgen && make -j1, in an ASAN build => protocolgen no longer aborts the build

Diff Detail

Repository
R165 Akonadi
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dfaure created this revision.May 7 2019, 10:04 AM
Restricted Application added a project: KDE PIM. · View Herald TranscriptMay 7 2019, 10:04 AM
dfaure requested review of this revision.May 7 2019, 10:04 AM
dvratil accepted this revision.May 7 2019, 10:49 AM
This revision is now accepted and ready to land.May 7 2019, 10:49 AM
This revision was automatically updated to reflect the committed changes.