[asterisk-commits] russell: trunk r82241 - in /trunk: ./ apps/app_queue.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Sep 11 09:35:06 CDT 2007
Author: russell
Date: Tue Sep 11 09:35:06 2007
New Revision: 82241
URL: http://svn.digium.com/view/asterisk?view=rev&rev=82241
Log:
Merged revisions 82240 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r82240 | russell | 2007-09-11 09:34:12 -0500 (Tue, 11 Sep 2007) | 2 lines
Add a couple more missing unrefs of queue member objects
........
Modified:
trunk/ (props changed)
trunk/apps/app_queue.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?view=diff&rev=82241&r1=82240&r2=82241
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Tue Sep 11 09:35:06 2007
@@ -3981,6 +3981,7 @@
buflen += strlen(m->interface);
/* Safeguard against overflow (negative length) */
if (buflen >= len - 2) {
+ ao2_ref(m, -1);
ast_log(LOG_WARNING, "Truncating list\n");
break;
}
@@ -4787,6 +4788,7 @@
ao2_ref(m, -1);
return tmp;
}
+ ao2_ref(m, -1);
}
ast_mutex_unlock(&q->lock);
}
More information about the asterisk-commits
mailing list