diff --git a/src/switch_xml.cpp b/src/switch_xml.cpp index 804dfbfb7b..eaaccbb066 100644 --- a/src/switch_xml.cpp +++ b/src/switch_xml.cpp @@ -159,6 +159,7 @@ SWITCH_DECLARE(switch_status_t) switch_xml_unbind_search_function(switch_xml_bin status = SWITCH_STATUS_SUCCESS; break; } + last = ptr; } switch_mutex_unlock(XML_LOCK);