CleanupPollsJob: Fix possible leak
authorOlivier Goffart <ogoffart@woboq.com>
Thu, 14 Jul 2016 07:21:28 +0000 (09:21 +0200)
committerChristian Kamm <mail@ckamm.de>
Mon, 12 Sep 2016 12:09:12 +0000 (14:09 +0200)
commit65c49e1de6b5810136753cf359eefe7ccd49dc0e
tree54c1889dc6966cd119facf9b1d1f52f4430b7d93
parent4abaee7736bb2ecdbe2d5c357120910130dcf4a3
CleanupPollsJob: Fix possible leak

Missing deleteLater when the CleanupPollsJob aborts.
This is only a problem if the SyncEngine is kept alive a long time. Which is
usually not the case in the configuration where poll jobs are used.

(cherry picked from commit 34650248985914523f0684c597f0c366b703f8d7)
src/libsync/owncloudpropagator.cpp
src/libsync/owncloudpropagator.h