From: dyamy-lee Date: Thu, 5 Dec 2024 00:45:40 +0000 (+0900) Subject: Fix build error by chainging default engine type X-Git-Tag: accepted/tizen/9.0/unified/20241207.044215~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9682b5cdf104cd9130625974299d857da305fef0;p=platform%2Fcore%2Fuifw%2Ftts.git Fix build error by chainging default engine type Change-Id: Iddd8eaed1516d43346e0f1da088e5aa0f31cf41e --- diff --git a/server/ttsd_data.cpp b/server/ttsd_data.cpp index 3b0b357b..532a8e2c 100644 --- a/server/ttsd_data.cpp +++ b/server/ttsd_data.cpp @@ -519,7 +519,7 @@ speak_data_s* ttsd_data_create_speak_data(const char* text, const char* language 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);