fix xml object leak in conference cdrs

This commit is contained in:
Anthony Minessale committed 2012-05-04 18:59:34 -05:00
1 parent e278c0facd
commit 5c66ab4793
1 file changed
+2 -1
@@ -660,9 +660,10 @@ static void conference_cdr_render(conference_obj_t *conference)
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error writing [%s][%s]\n", path, ebuf);
}
switch_safe_free(path);
switch_safe_free(xml_text);
switch_xml_free(cdr);
}