diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-23 17:15:23 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-23 17:15:23 +0000 |
commit | 62a7522f316acf205715a3585b9e4ce260062823 (patch) | |
tree | 98fa0486b684840d6e1aa29f3388bbcbaa38af9a /pbx.c | |
parent | 398097da5064c5b7fe408eb4ff4b5896df83d9f4 (diff) |
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
Diffstat (limited to 'pbx.c')
-rw-r--r-- | pbx.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |