[asterisk-commits] irroot: branch irroot/distrotech-customers-1.8 r336375 - in /team/irroot/dist...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Sep 19 03:22:36 CDT 2011
Author: irroot
Date: Mon Sep 19 03:22:34 2011
New Revision: 336375
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=336375
Log:
Fix for ASTERISK-18573
when adding lock in app_queue mistyped it
Modified:
team/irroot/distrotech-customers-1.8/apps/app_queue.c
team/irroot/distrotech-customers-1.8/channels/chan_sip.c
Modified: team/irroot/distrotech-customers-1.8/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/distrotech-customers-1.8/apps/app_queue.c?view=diff&rev=336375&r1=336374&r2=336375
==============================================================================
--- team/irroot/distrotech-customers-1.8/apps/app_queue.c (original)
+++ team/irroot/distrotech-customers-1.8/apps/app_queue.c Mon Sep 19 03:22:34 2011
@@ -5088,10 +5088,10 @@
if ((newcdr = ast_cdr_dup(cdr))) {
ast_cdr_init(newcdr, qe->chan);
ast_cdr_reset(newcdr, 0);
- ast_lock_channel(qe->chan);
+ ast_channel_lock(qe->chan);
cdr = ast_cdr_append(cdr, newcdr);
cdr = cdr->next;
- ast_unlock_channel(qe->chan);
+ ast_channel_unlock(qe->chan);
}
}
ast_copy_string(cdr->dstchannel, member->membername, sizeof(cdr->dstchannel));
Modified: team/irroot/distrotech-customers-1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/distrotech-customers-1.8/channels/chan_sip.c?view=diff&rev=336375&r1=336374&r2=336375
==============================================================================
--- team/irroot/distrotech-customers-1.8/channels/chan_sip.c (original)
+++ team/irroot/distrotech-customers-1.8/channels/chan_sip.c Mon Sep 19 03:22:34 2011
@@ -25066,6 +25066,7 @@
dialog_unlink_all(p, TRUE, TRUE);
dialog_unref(p, "unref dialog p just created via sip_alloc");
/* sip_destroy(p); */
+ ao2_unlock(peer);
return -1;
}
/* Recalculate our side, and recalculate Call ID */
More information about the asterisk-commits
mailing list