Fix issue that detected by static analysis tool
[platform/core/uifw/inputdelegator.git] / src / w-input-stt-ise.cpp
index 965d36d..7f40e69 100755 (executable)
@@ -48,7 +48,7 @@ void show_voice_input(Evas_Object *parent, const char *lang, void (*get_string)(
                        PRINTFUNC(DLOG_ERROR, "%d::::Heap Overflow, Voice Input cannot be shown!", __LINE__);
                        return;
                }
-               memset(my_voicedata, 0, sizeof(VoiceData));
+               init_voicedata(my_voicedata);
        }
 
        if (my_voicedata) {