mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 15:09:33 -05:00
Added delete of TorManagerPrivate in destructor of TorManager
This commit is contained in:
parent
97f7e0f936
commit
02afc9062f
@ -95,6 +95,11 @@ TorManager::TorManager()
|
||||
{
|
||||
}
|
||||
|
||||
TorManager::~TorManager()
|
||||
{
|
||||
delete(d);
|
||||
}
|
||||
|
||||
TorManagerPrivate::TorManagerPrivate(TorManager *parent)
|
||||
: q(parent)
|
||||
, process(0)
|
||||
|
@ -51,6 +51,7 @@ class TorManager : public HiddenServiceClient, public RsThread, public RsTor
|
||||
{
|
||||
public:
|
||||
static TorManager *instance();
|
||||
virtual ~TorManager();
|
||||
|
||||
TorProcess *process();
|
||||
TorControl *control();
|
||||
|
Loading…
Reference in New Issue
Block a user