fix dead assignments in conference_cdr
}
} else {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Couldn't realloc\n");
+ switch_safe_free(p);
return SWITCH_STATUS_TERM;
}
}
switch_mutex_unlock(conference->member_mutex);
- off1 = off2 = off3 = off4 = 0;
-
xml_text = switch_xml_toxml(xml, SWITCH_TRUE);
switch_xml_free(xml);
wrote = write(fd, xml_text, (unsigned) strlen(xml_text));
wrote++;
close(fd);
- fd = -1;
} else {
char ebuf[512] = { 0 };
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error writing [%s][%s]\n",