[asterisk-commits] russell: trunk r121079 - in /trunk: ./ channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Jun 7 09:18:44 CDT 2008


Author: russell
Date: Sat Jun  7 09:18:44 2008
New Revision: 121079

URL: http://svn.digium.com/view/asterisk?view=rev&rev=121079
Log:
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 #12807)
Reported by: ys
Patches: 
      chan_agent_local.diff uploaded by ys (license 281)

........

Modified:
    trunk/   (props changed)
    trunk/channels/chan_agent.c
    trunk/channels/chan_local.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/channels/chan_agent.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_agent.c?view=diff&rev=121079&r1=121078&r2=121079
==============================================================================
--- trunk/channels/chan_agent.c (original)
+++ trunk/channels/chan_agent.c Sat Jun  7 09:18:44 2008
@@ -2426,7 +2426,6 @@
 		ast_free(p);
 	}
 	AST_LIST_UNLOCK(&agents);
-	AST_LIST_HEAD_DESTROY(&agents);
 	return 0;
 }
 

Modified: trunk/channels/chan_local.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_local.c?view=diff&rev=121079&r1=121078&r2=121079
==============================================================================
--- trunk/channels/chan_local.c (original)
+++ trunk/channels/chan_local.c Sat Jun  7 09:18:44 2008
@@ -812,7 +812,6 @@
 				ast_softhangup(p->owner, AST_SOFTHANGUP_APPUNLOAD);
 		}
 		AST_LIST_UNLOCK(&locals);
-		AST_LIST_HEAD_DESTROY(&locals);
 	} else {
 		ast_log(LOG_WARNING, "Unable to lock the monitor\n");
 		return -1;




More information about the asterisk-commits mailing list