Skip to content
Snippets Groups Projects
Commit 669cebe9 authored by Alexandre Bourget's avatar Alexandre Bourget
Browse files

Properly destroy everything on account removal.

parent c7b30f5a
Branches
Tags
No related merge requests found
......@@ -31,7 +31,9 @@ Account::Account(const AccountID& accountID) : _accountID(accountID)
Account::~Account()
{
delete _link; _link = NULL;
// _link should be destroyed WHERE IT'S CREATED
//delete _link;
//_link = NULL;
}
......
......@@ -32,6 +32,7 @@ IAXAccount::IAXAccount(const AccountID& accountID)
IAXAccount::~IAXAccount()
{
delete _link;
_link = NULL;
}
void
......
......@@ -32,6 +32,7 @@ SIPAccount::SIPAccount(const AccountID& accountID)
SIPAccount::~SIPAccount()
{
delete _link;
_link = NULL;
}
void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment