fix 2 memory leaks detected by valgrind run

This commit is contained in:
Anthony Minessale committed 2011-11-15 07:50:45 -06:00
1 parent 179f6b57a6
commit 7ba5197009
2 files changed
+8

No files matched your search

@@ -164,6 +164,10 @@ static switch_status_t my_on_reporting(switch_core_session_t *session)
write_cdr(sql);
switch_safe_free(sql);
if (expanded_vars != template_str) {
switch_safe_free(expanded_vars);
}
return status;
}