From: Anthony Minessale Date: Fri, 4 May 2012 19:07:12 +0000 (-0500) Subject: fix xml object leak in conference cdrs X-Git-Tag: v1.2-rc1~17^2~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c66ab479329155180cbf4e35e5be44bfb10870d;p=thirdparty%2Ffreeswitch.git fix xml object leak in conference cdrs --- diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index a46437aab3..3112a781f4 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -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); }