Added delete of TorManagerPrivate in destructor of TorManager

This commit is contained in:
thunder2 2021-12-29 16:31:30 +01:00
parent 97f7e0f936
commit 02afc9062f
2 changed files with 6 additions and 0 deletions

View File

@ -95,6 +95,11 @@ TorManager::TorManager()
{
}
TorManager::~TorManager()
{
delete(d);
}
TorManagerPrivate::TorManagerPrivate(TorManager *parent)
: q(parent)
, process(0)

View File

@ -51,6 +51,7 @@ class TorManager : public HiddenServiceClient, public RsThread, public RsTor
{
public:
static TorManager *instance();
virtual ~TorManager();
TorProcess *process();
TorControl *control();