diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index ff25e4413..a2ec02fdf 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -4257,7 +4257,6 @@ void linphone_call_handle_stream_events(LinphoneCall *call, int stream_index){ } else if (evt == ORTP_EVENT_RTT_CHARACTER_RECEIVED) { LinphoneChatRoom * chat_room = linphone_call_get_chat_room(call); linphone_core_real_time_text_received(call->core, chat_room, evd->info.received_rtt_character, call); - linphone_call_unref(chat_room->call); // linphone_call_get_chat_room(call) ref the call } ortp_event_destroy(ev); }