diff options
author | Mark Spencer <markster@digium.com> | 2005-10-27 21:57:53 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-10-27 21:57:53 +0000 |
commit | f8c90f03b8f4cd8caaf8e16a63bf37e38489614f (patch) | |
tree | be9cac364c135f8f55061201b3b1cc6656c649f2 /cdr.c | |
parent | 7deac2300a5965cc91fb89500d156db386220b86 (diff) |
Fix CDR crash (bug #5525 and many others)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'cdr.c')
-rwxr-xr-x | cdr.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |