Stop leaking PropagateDownloadEncrypted objects
authorKevin Ottens <kevin.ottens@nextcloud.com>
Wed, 24 Jun 2020 15:58:52 +0000 (17:58 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 30 Jun 2020 09:29:08 +0000 (11:29 +0200)
commit2abc3ce2f52c8aca59d14d8189afebbb2059b317
treea1876bd37fad5d18959c3f172f70ff39a2779e56
parent01d44dd3a17e267299831541a483ed3520fc81d1
Stop leaking PropagateDownloadEncrypted objects

We give them a parent to make sure they will be destroyed when the jobs
which created them are destroyed themselves.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/libsync/propagatedownload.cpp
src/libsync/propagatedownloadencrypted.cpp
src/libsync/propagatedownloadencrypted.h