mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-20 15:00:36 -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)
|
||||
: 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…
Add table
Add a link
Reference in a new issue