[asterisk-bugs] [Asterisk 0012807]: [patch] Superfluous AST_LIST_HEAD_DESTROY() for staticaly defined linked list in chan_agent and chan_local.

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jun 7 09:12:09 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12807 
====================================================================== 
Reported By:                ys
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   12807
Category:                   Channels/General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 121077 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             06-07-2008 06:13 CDT
Last Modified:              06-07-2008 09:12 CDT
====================================================================== 
Summary:                    [patch] Superfluous AST_LIST_HEAD_DESTROY() for
staticaly defined linked list in chan_agent and chan_local.
Description: 
AST_LIST_HEAD_DESTROY() unneeded for linked list, that defined with
AST_LIST_HEAD_STATIC() macro.
Resource associated with these lists are automaticaly released, if module
unload (destructor for BSD).
Or no action required for linux based box.

====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 06-07-08 09:12  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 121079

_U  trunk/
U   trunk/channels/chan_agent.c
U   trunk/channels/chan_local.c

------------------------------------------------------------------------
r121079 | russell | 2008-06-07 09:12:05 -0500 (Sat, 07 Jun 2008) | 15
lines

Merged revisions 121078 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r121078 | russell | 2008-06-07 09:10:56 -0500 (Sat, 07 Jun 2008) | 7 lines

Don't run LIST_HEAD_DESTROY on a STATIC list

(closes issue http://bugs.digium.com/view.php?id=12807)
Reported by: ys
Patches: 
      chan_agent_local.diff uploaded by ys (license 281)

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=121079 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-07-08 09:12  svnbot         Checkin                                      
06-07-08 09:12  svnbot         Note Added: 0087922                          
======================================================================




More information about the asterisk-bugs mailing list