Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
669cebe9
Commit
669cebe9
authored
Oct 02, 2007
by
Alexandre Bourget
Browse files
Properly destroy everything on account removal.
parent
c7b30f5a
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/account.cpp
View file @
669cebe9
...
...
@@ -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;
}
...
...
src/iaxaccount.cpp
View file @
669cebe9
...
...
@@ -32,6 +32,7 @@ IAXAccount::IAXAccount(const AccountID& accountID)
IAXAccount
::~
IAXAccount
()
{
delete
_link
;
_link
=
NULL
;
}
void
...
...
src/sipaccount.cpp
View file @
669cebe9
...
...
@@ -32,6 +32,7 @@ SIPAccount::SIPAccount(const AccountID& accountID)
SIPAccount
::~
SIPAccount
()
{
delete
_link
;
_link
=
NULL
;
}
void
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment