mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-21 05:39:11 -04:00
Added delete of TorManagerPrivate in destructor of TorManager
This commit is contained in:
parent
97f7e0f936
commit
02afc9062f
2 changed files with 6 additions and 0 deletions
|
@ -95,6 +95,11 @@ TorManager::TorManager()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TorManager::~TorManager()
|
||||||
|
{
|
||||||
|
delete(d);
|
||||||
|
}
|
||||||
|
|
||||||
TorManagerPrivate::TorManagerPrivate(TorManager *parent)
|
TorManagerPrivate::TorManagerPrivate(TorManager *parent)
|
||||||
: q(parent)
|
: q(parent)
|
||||||
, process(0)
|
, process(0)
|
||||||
|
|
|
@ -51,6 +51,7 @@ class TorManager : public HiddenServiceClient, public RsThread, public RsTor
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
static TorManager *instance();
|
static TorManager *instance();
|
||||||
|
virtual ~TorManager();
|
||||||
|
|
||||||
TorProcess *process();
|
TorProcess *process();
|
||||||
TorControl *control();
|
TorControl *control();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue