[asterisk-commits] mmichelson: branch mmichelson/threadpool r377381 - /team/mmichelson/threadpoo...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Dec 7 15:53:22 CST 2012


Author: mmichelson
Date: Fri Dec  7 15:53:18 2012
New Revision: 377381

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=377381
Log:
Remove unsafe write of listener member.


Modified:
    team/mmichelson/threadpool/main/taskprocessor.c

Modified: team/mmichelson/threadpool/main/taskprocessor.c
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/threadpool/main/taskprocessor.c?view=diff&rev=377381&r1=377380&r2=377381
==============================================================================
--- team/mmichelson/threadpool/main/taskprocessor.c (original)
+++ team/mmichelson/threadpool/main/taskprocessor.c Fri Dec  7 15:53:18 2012
@@ -474,7 +474,6 @@
 {
 	listener->callbacks->shutdown(listener);
 	ao2_ref(listener->tps, -1);
-	listener->tps = NULL;
 }
 
 struct ast_taskprocessor_listener *ast_taskprocessor_listener_alloc(const struct ast_taskprocessor_listener_callbacks *callbacks)




More information about the asterisk-commits mailing list