mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 09:58:17 +00:00
IRC-000
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12267 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user