summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2007-10-25 23:11:28 +0000
committerKevin P. Fleming <kpfleming@digium.com>2007-10-25 23:11:28 +0000
commitc6a8d45f4370b7c79355c94b04c8095ef28a49d1 (patch)
tree8170814f2914d23f86616af02f2ce29661a10950 /main
parentadc9003fc5119a4265dc85f64f32c66c358f9a87 (diff)
Merged revisions 87069 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r87069 | kpfleming | 2007-10-25 18:03:11 -0500 (Thu, 25 Oct 2007) | 2 lines appending one list to another should leave the first list empty, and not require the user to do that ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r--main/channel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/main/channel.c b/main/channel.c
index ace4d4eb0..843c1dd27 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -3512,7 +3512,6 @@ static void clone_variables(struct ast_channel *original, struct ast_channel *cl
/* XXX Is this always correct? We have to in order to keep MACROS working XXX */
if (AST_LIST_FIRST(&clone->varshead))
AST_LIST_APPEND_LIST(&original->varshead, &clone->varshead, entries);
- AST_LIST_HEAD_INIT_NOLOCK(&clone->varshead);
/* then, dup the varshead list into the clone */