clean up some ref counting for interfaces

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10464 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-11-19 19:22:20 +00:00
parent 2e20feaac6
commit 2fefaaaccc
4 changed files with 35 additions and 17 deletions
@@ -1964,8 +1964,6 @@ static switch_call_cause_t error_outgoing_channel(switch_core_session_t *session
cause = SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER;
}
UNPROTECT_INTERFACE(error_endpoint_interface);
return cause;
}
@@ -2126,8 +2124,6 @@ static switch_call_cause_t user_outgoing_channel(switch_core_session_t *session,
done:
UNPROTECT_INTERFACE(user_endpoint_interface);
if (xml) {
switch_xml_free(xml);
}