[svn-commits] tilghman: trunk r268818 - /trunk/channels/chan_sip.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Jun 7 17:56:57 CDT 2010
Author: tilghman
Date: Mon Jun 7 17:56:53 2010
New Revision: 268818
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=268818
Log:
Use the mailbox destructor function, instead.
Modified:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=268818&r1=268817&r2=268818
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Jun 7 17:56:53 2010
@@ -25439,7 +25439,7 @@
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;
More information about the svn-commits
mailing list