aboutsummaryrefslogtreecommitdiffstats
path: root/main/channel.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-25 23:11:28 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-25 23:11:28 +0000
commitdaac309efb0a17003d0973540c23519d851d7245 (patch)
tree8170814f2914d23f86616af02f2ce29661a10950 /main/channel.c
parentb3aade8e81d40fdc5e11e6c537b15c7c5d1f9f0c (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: http://svn.digium.com/svn/asterisk/trunk@87070 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/channel.c')
-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 */