From 7343abf86992cbec54890cf2d858134f30039d59 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Thu, 25 Oct 2007 23:03:11 +0000 Subject: 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/branches/1.4@87069 f38db490-d61c-443f-a65b-d21fe96a405b --- main/channel.c | 1 - 1 file changed, 1 deletion(-) (limited to 'main/channel.c') diff --git a/main/channel.c b/main/channel.c index 76e3af290..9d9da80b4 100644 --- a/main/channel.c +++ b/main/channel.c @@ -3579,7 +3579,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 */ -- cgit v1.2.3