mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 08:59:37 -05:00
fixed a few errors reported by valgrind
This commit is contained in:
parent
f6892066bc
commit
8af6ca9fb7
@ -161,6 +161,8 @@ OpenPGPSDKHandler::OpenPGPSDKHandler(const std::string& pubring, const std::stri
|
||||
++i ;
|
||||
}
|
||||
_pubring_last_update_time = time(NULL) ;
|
||||
_pubring_changed = false;
|
||||
|
||||
RsErr() << "Pubring read successfully." ;
|
||||
|
||||
if(secring_exist)
|
||||
|
@ -78,9 +78,11 @@ void PendingOperation::finishWithSuccess()
|
||||
|
||||
if (!m_finished) {
|
||||
m_finished = true;
|
||||
mFinishedCallback();
|
||||
|
||||
if (isSuccess())
|
||||
mSuccessCallback();
|
||||
|
||||
mFinishedCallback();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -65,6 +65,7 @@ static std::ostream& torctrldebug()
|
||||
using namespace Tor;
|
||||
|
||||
TorControl::TorControl()
|
||||
: mControlPort(0),mSocksPort(0),mStatus(NotConnected), mTorStatus(TorOffline),mHasOwnership(false)
|
||||
{
|
||||
mSocket = new TorControlSocket(this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user