From fc7311e94c6a2df1c21bc2302357200bfaa0cac4 Mon Sep 17 00:00:00 2001
From: Mark Spencer <markster@digium.com>
Date: Sat, 31 Jan 2004 02:50:27 +0000
Subject: [PATCH] Don't delete original variables after appending clone ones

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2098 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 channel.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/channel.c b/channel.c
index 9e6495533c..ee971f8cde 100755
--- a/channel.c
+++ b/channel.c
@@ -2049,7 +2049,6 @@ static int ast_do_masquerade(struct ast_channel *original)
 		original->varshead.first = clone->varshead.first;
 	}
 	clone->varshead.first = NULL;
-	original->varshead.first = clone->varshead.first;
 	/* Presense of ADSI capable CPE follows clone */
 	original->adsicpe = clone->adsicpe;
 	/* Bridge remains the same */
-- 
GitLab