Free the node element

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12868 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Mathieu Rene 2009-04-01 18:41:46 +00:00
parent 53bdc833b2
commit 76383f06ef
1 changed files with 2 additions and 2 deletions

View File

@ -112,8 +112,8 @@ static switch_status_t do_config(switch_bool_t reload)
}
}
if (cfg) {
switch_xml_free(cfg);
if (xml) {
switch_xml_free(xml);
}
return SWITCH_STATUS_SUCCESS;