IRC-000
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12267 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
504876c9d7
commit
e5f6e42eec
|
@ -1778,6 +1778,12 @@ SWITCH_DECLARE(switch_status_t) switch_xml_locate_user(const char *key,
|
|||
switch_event_destroy(&my_params);
|
||||
}
|
||||
|
||||
if (status != SWITCH_STATUS_SUCCESS && root && *root) {
|
||||
switch_xml_free(*root);
|
||||
*root = NULL;
|
||||
*domain = NULL;
|
||||
}
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue