fixed a few errors reported by valgrind

This commit is contained in:
csoler 2021-12-22 14:03:29 +01:00
parent f6892066bc
commit 8af6ca9fb7
3 changed files with 6 additions and 1 deletions

View file

@ -78,9 +78,11 @@ void PendingOperation::finishWithSuccess()
if (!m_finished) {
m_finished = true;
mFinishedCallback();
if (isSuccess())
mSuccessCallback();
mFinishedCallback();
}
}