Index: main/cdr.c =================================================================== --- main/cdr.c (revision 130978) +++ main/cdr.c (working copy) @@ -781,10 +781,6 @@ for (; cdr; cdr = cdr->next) { if (!ast_test_flag(cdr, AST_CDR_FLAG_LOCKED)) { check_post(cdr); - if (!app) - app = ""; - if (!data) - data = ""; ast_copy_string(cdr->lastapp, S_OR(app, ""), sizeof(cdr->lastapp)); ast_copy_string(cdr->lastdata, S_OR(data, ""), sizeof(cdr->lastdata)); }