[asterisk-commits] irroot: branch irroot/asterisk-trunk-quack-queue r345486 - /team/irroot/aster...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Nov 15 23:20:19 CST 2011


Author: irroot
Date: Tue Nov 15 23:20:07 2011
New Revision: 345486

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=345486
Log:
Eliminate possible seg fault on null ref in ao2 callbacks [missing ;]

Modified:
    team/irroot/asterisk-trunk-quack-queue/apps/app_queue.c

Modified: team/irroot/asterisk-trunk-quack-queue/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/asterisk-trunk-quack-queue/apps/app_queue.c?view=diff&rev=345486&r1=345485&r2=345486
==============================================================================
--- team/irroot/asterisk-trunk-quack-queue/apps/app_queue.c (original)
+++ team/irroot/asterisk-trunk-quack-queue/apps/app_queue.c Tue Nov 15 23:20:07 2011
@@ -1324,7 +1324,7 @@
 	int qhash = (arg && (flags & OBJ_POINTER)) ? d2->qhash : nhash;
 
 	if (qhash && (d->qhash == qhash)) {
-		return CMP_MATCH | CMP_STOP
+		return CMP_MATCH | CMP_STOP;
 	} else {
 		return 0;
 	}




More information about the asterisk-commits mailing list