Fix some indirect memory leaks
commit9495bbf1278471e69c99f8fcdbdc4834d0687b9b
authorJan Kundrát <jkt@kde.org>
Mon, 5 Sep 2016 10:02:02 +0000 (5 12:02 +0200)
committerJan Kundrát <jkt@kde.org>
Mon, 5 Sep 2016 22:22:50 +0000 (6 00:22 +0200)
tree57f066380cd2f6651d47da0d2f273de35eb0fa5b
parent8bdbf24cc344b16e4aea3282bc8540aea987780c
Fix some indirect memory leaks

These were actually semi-safe because of the QObject ownership tree (and
because it's just a unit test anyway), but this doesn't hurt, and
there's value in having the output LSAN-error-free.

Thanks to ASAN/LSAN, as usual.

Change-Id: I0307e548a35f916ad5a77a7cd172a01295563186
tests/Imap/test_Imap_Tasks_DeleteMailbox.cpp
tests/Utils/LibMailboxSync.cpp