diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-07 22:56:53 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-07 22:56:53 +0000 |
commit | a98655a5c518c34c86c7b0a924371b726b06d119 (patch) | |
tree | 5afa87c702829766e3248e9762c286de8c877db2 | |
parent | 69f22ebd2d1951e8dff9bf195caccc07aa27c285 (diff) |
Use the mailbox destructor function, instead.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268818 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index d65471da1..a1bfcfe7e 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -25439,7 +25439,7 @@ static struct sip_peer *build_peer(const char *name, struct ast_variable *v, str AST_LIST_TRAVERSE_SAFE_BEGIN(&peer->mailboxes, mailbox, entry) { if (mailbox->delme) { AST_LIST_REMOVE_CURRENT(entry); - ast_free(mailbox); + destroy_mailbox(mailbox); } } AST_LIST_TRAVERSE_SAFE_END; |