From: Mark Michelson Date: Fri, 7 Dec 2012 21:53:18 +0000 (+0000) Subject: Remove unsafe write of listener member. X-Git-Tag: 13.0.0-beta1~2194^2~103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8f35bb19755c6571411a8dfb2595a7c9225d4f6;p=thirdparty%2Fasterisk.git Remove unsafe write of listener member. git-svn-id: https://origsvn.digium.com/svn/asterisk/team/mmichelson/threadpool@377381 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/taskprocessor.c b/main/taskprocessor.c index 1a768de2f7..fc183b4096 100644 --- a/main/taskprocessor.c +++ b/main/taskprocessor.c @@ -474,7 +474,6 @@ static void listener_shutdown(struct ast_taskprocessor_listener *listener) { 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)