[svn-commits] murf: branch murf/bug11210 r105664 - /team/murf/bug11210/main/astobj2.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Mar 4 11:49:29 CST 2008
Author: murf
Date: Tue Mar 4 11:49:29 2008
New Revision: 105664
URL: http://svn.digium.com/view/asterisk?view=rev&rev=105664
Log:
These fixes make NOT having DEBUG_REF work right. Testing with sipp disappointing. Things are not working right since the last round of testing. At low call rates, everything is OK, but it falls apart at much lower levels than before. Must investigate.
Modified:
team/murf/bug11210/main/astobj2.c
Modified: team/murf/bug11210/main/astobj2.c
URL: http://svn.digium.com/view/asterisk/team/murf/bug11210/main/astobj2.c?view=diff&rev=105664&r1=105663&r2=105664
==============================================================================
--- team/murf/bug11210/main/astobj2.c (original)
+++ team/murf/bug11210/main/astobj2.c Tue Mar 4 11:49:29 2008
@@ -756,7 +756,7 @@
if (p) {
/* inc refcount of returned object */
- ao2_ref(ret, 1);
+ _ao2_ref(ret, 1);
}
if (!(a->flags & F_AO2I_DONTLOCK))
@@ -770,7 +770,7 @@
*/
static int cd_cb(void *obj, void *arg, int flag)
{
- ao2_ref(obj, -1);
+ _ao2_ref(obj, -1);
return 0;
}
More information about the svn-commits
mailing list