mod_sms: add app transfer - fix free context

This commit is contained in:
António Silva 2022-06-02 18:18:38 +01:00
parent fd040025ac
commit a01644206f
1 changed files with 1 additions and 1 deletions

View File

@ -624,10 +624,10 @@ SWITCH_STANDARD_CHAT_APP(transfer_function)
switch_event_del_header(message, "context");
switch_event_add_header_string(message, SWITCH_STACK_BOTTOM, "context", context);
switch_safe_free(context);
switch_core_chat_send("GLOBAL", message);
return SWITCH_STATUS_SUCCESS;
}