[svn-commits] kpfleming: trunk r254637 - /trunk/include/asterisk/channel.h

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Mar 25 13:38:30 CDT 2010


Author: kpfleming
Date: Thu Mar 25 13:38:27 2010
New Revision: 254637

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=254637
Log:
Remove no-longer-used (and unsafe) field in ast_channel for linked lists.

The ast_channel structure had a field used for linking a channel into a
linked list, but now that ast_channel structures are ao2 objects, this is
no longer needed, and could be harmful as ao2 objects really shouldn't
ever be placed into linked lists (since those lists don't assist with
reference count management on the objects).

Modified:
    trunk/include/asterisk/channel.h

Modified: trunk/include/asterisk/channel.h
URL: http://svnview.digium.com/svn/asterisk/trunk/include/asterisk/channel.h?view=diff&rev=254637&r1=254636&r2=254637
==============================================================================
--- trunk/include/asterisk/channel.h (original)
+++ trunk/include/asterisk/channel.h Thu Mar 25 13:38:27 2010
@@ -713,7 +713,6 @@
 	ast_group_t callgroup;				/*!< Call group for call pickups */
 	ast_group_t pickupgroup;			/*!< Pickup group - which calls groups can be picked up? */
 	AST_LIST_HEAD_NOLOCK(, ast_frame) readq;
-	AST_LIST_ENTRY(ast_channel) chan_list;		/*!< For easy linking */
 	struct ast_jb jb;				/*!< The jitterbuffer state */
 	struct timeval dtmf_tv;				/*!< The time that an in process digit began, or the last digit ended */
 	AST_LIST_HEAD_NOLOCK(datastores, ast_datastore) datastores; /*!< Data stores on the channel */




More information about the svn-commits mailing list