mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Added delete of member TorControlSocket in destructor of TorControl
This commit is contained in:
parent
e096f2feb1
commit
1fafaeb909
@ -70,6 +70,11 @@ TorControl::TorControl()
|
||||
mSocket = new TorControlSocket(this);
|
||||
}
|
||||
|
||||
TorControl::~TorControl()
|
||||
{
|
||||
delete(mSocket);
|
||||
}
|
||||
|
||||
static RsTorConnectivityStatus torConnectivityStatus(Tor::TorControl::Status t)
|
||||
{
|
||||
switch(t)
|
||||
|
@ -68,6 +68,7 @@ public:
|
||||
};
|
||||
|
||||
explicit TorControl();
|
||||
virtual ~TorControl();
|
||||
|
||||
/* Information */
|
||||
Status status() const;
|
||||
|
Loading…
Reference in New Issue
Block a user