From 62a7522f316acf205715a3585b9e4ce260062823 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Tue, 23 May 2006 17:15:23 +0000 Subject: backport some mutex initialization and linked list handling fixes from trunk git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@29732 f38db490-d61c-443f-a65b-d21fe96a405b --- pbx.c | 1 + 1 file changed, 1 insertion(+) (limited to 'pbx.c') diff --git a/pbx.c b/pbx.c index 3e0c41724..ee00f3a47 100644 --- a/pbx.c +++ b/pbx.c @@ -3706,6 +3706,7 @@ void ast_merge_contexts_and_delete(struct ast_context **extcontexts, const char int length; struct ast_state_cb *thiscb, *prevcb; + memset(&store, 0, sizeof(store)); AST_LIST_HEAD_INIT(&store); /* it is very important that this function hold the hintlock _and_ the conlock -- cgit v1.2.3