mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-27 16:35:21 -04:00
fixed a few errors reported by valgrind
This commit is contained in:
parent
f6892066bc
commit
8af6ca9fb7
3 changed files with 6 additions and 1 deletions
|
@ -78,9 +78,11 @@ void PendingOperation::finishWithSuccess()
|
|||
|
||||
if (!m_finished) {
|
||||
m_finished = true;
|
||||
mFinishedCallback();
|
||||
|
||||
if (isSuccess())
|
||||
mSuccessCallback();
|
||||
|
||||
mFinishedCallback();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue