[svn-commits] russell: branch russell/events r59269 -
/team/russell/events/channels/
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Tue Mar 27 12:26:45 MST 2007
Author: russell
Date: Tue Mar 27 14:26:45 2007
New Revision: 59269
URL: http://svn.digium.com/view/asterisk?view=rev&rev=59269
Log:
Destroy the event that was retrieved from the cache.
Modified:
team/russell/events/channels/chan_iax2.c
Modified: team/russell/events/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/team/russell/events/channels/chan_iax2.c?view=diff&rev=59269&r1=59268&r2=59269
==============================================================================
--- team/russell/events/channels/chan_iax2.c (original)
+++ team/russell/events/channels/chan_iax2.c Tue Mar 27 14:26:45 2007
@@ -5813,6 +5813,7 @@
if (event) {
new = ast_event_get_ie_uint(event, AST_EVENT_IE_NEWMSGS);
old = ast_event_get_ie_uint(event, AST_EVENT_IE_OLDMSGS);
+ ast_event_destroy(event);
} else /* Fall back on checking the mailbox directly */
ast_app_inboxcount(p->mailbox, &new, &old);
More information about the svn-commits
mailing list