[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:04:19 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: assigned
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:
======================================================================
Date Submitted: 06-07-2008 06:13 CDT
Last Modified: 06-07-2008 09:04 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:04
----------------------------------------------------------------------
Repository: asterisk
Revision: 121078
U branches/1.4/channels/chan_agent.c
U branches/1.4/channels/chan_local.c
------------------------------------------------------------------------
r121078 | russell | 2008-06-07 09:04:15 -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=121078
Issue History
Date Modified Username Field Change
======================================================================
06-07-08 09:04 svnbot Note Added: 0087921
======================================================================
More information about the asterisk-bugs
mailing list