modem_info->call_list = g_slist_remove(modem_info->call_list, call);
g_free(call->call_number);
g_free(call->dtmf_number);
+ g_free(call->calling_name);
g_free(call);
info("Call(which has ID %d) is removed from the call list", call_id);
return 0;
char *caller_ringtone_path = NULL;
_callmgr_ct_get_caller_ringtone_path(call_id, &caller_ringtone_path);
_callmgr_ringer_start_alert(core_data->ringer_handle, caller_ringtone_path, is_earjack_available);
+ g_free(caller_ringtone_path);
}
/* Init motion sensor to use turn over mute */
char *caller_ringtone_path = NULL;
_callmgr_ct_get_caller_ringtone_path(call_id, &caller_ringtone_path);
_callmgr_ringer_start_alert(core_data->ringer_handle, caller_ringtone_path, is_earjack_available);
+ g_free(caller_ringtone_path);
}
/* Init motion sensor to use turn over mute */