]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix xml object leak in conference cdrs
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 4 May 2012 19:07:12 +0000 (14:07 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 4 May 2012 23:59:34 +0000 (18:59 -0500)
src/mod/applications/mod_conference/mod_conference.c

index a46437aab38583f5e3d3bc8a8b2b05d6d7873398..3112a781f43a90eb2dd13d75f0037d53fcf349f1 100644 (file)
@@ -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);
 }