28 Jun
2009
28 Jun
'09
8:28 p.m.
Author: ledr Date: Sun Jun 28 15:28:11 2009 New Revision: 14025 Log: free template_name in xml_odbc_search Modified: freeswitch/trunk/contrib/ledr/mod_xml_odbc/mod_xml_odbc.c Modified: freeswitch/trunk/contrib/ledr/mod_xml_odbc/mod_xml_odbc.c ============================================================================== --- freeswitch/trunk/contrib/ledr/mod_xml_odbc/mod_xml_odbc.c (original) +++ freeswitch/trunk/contrib/ledr/mod_xml_odbc/mod_xml_odbc.c Sun Jun 28 15:28:11 2009 @@ -330,6 +330,8 @@ cleanup: + switch_safe_free(template_name); + if (ret) { switch_xml_free(xml_out); return NULL;