aboutsummaryrefslogtreecommitdiffstats
path: root/cdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'cdr.c')
-rwxr-xr-xcdr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cdr.c b/cdr.c
index f65a516fa..2020e09ea 100755
--- a/cdr.c
+++ b/cdr.c
@@ -170,6 +170,7 @@ struct ast_cdr *ast_cdr_dup(struct ast_cdr *cdr)
/* The varshead is unusable, volatile even, after the memcpy so we take care of that here */
memset(&newcdr->varshead, 0, sizeof(newcdr->varshead));
ast_cdr_copy_vars(newcdr, cdr);
+ newcdr->next = NULL;
return newcdr;
}