[svn-commits] mmichelson: trunk r82289 - /trunk/apps/app_queue.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Sep 12 16:17:45 CDT 2007
Author: mmichelson
Date: Wed Sep 12 16:17:45 2007
New Revision: 82289
URL: http://svn.digium.com/view/asterisk?view=rev&rev=82289
Log:
Removed an unneeded ao2_ref. This was a problem because unless get_member_status returned QUEUE_NORMAL, a NULL member
would be unreferenced. While this didn't cause any crashes or anything terrible, it still is incorrect
Modified:
trunk/apps/app_queue.c
Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?view=diff&rev=82289&r1=82288&r2=82289
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Wed Sep 12 16:17:45 2007
@@ -542,7 +542,6 @@
}
}
- ao2_ref(member, -1);
ast_mutex_unlock(&q->lock);
return result;
}
More information about the svn-commits
mailing list