Change-Id: Iddd8eaed1516d43346e0f1da088e5aa0f31cf41e
speak_data->synth_parameter.volume = volume;
speak_data->synth_parameter.background_volume_ratio = bg_volume;
if (engine_type == NULL) {
- speak_data->synth_parameter.engine_type = "default";
+ speak_data->synth_parameter.engine_type = strdup("default");
SLOG(LOG_INFO, tts_tag(), "[DATA INFO] engine_type of synth_parameter is null");
} else {
speak_data->synth_parameter.engine_type = strdup(engine_type);