projects
/
platform
/
core
/
uifw
/
stt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b26c71
)
Fix crash issue
75/221275/1
author
wn.jang
<wn.jang@samsung.com>
Tue, 31 Dec 2019 00:18:25 +0000
(09:18 +0900)
committer
Wonnam Jang
<wn.jang@samsung.com>
Tue, 31 Dec 2019 00:20:06 +0000
(
00:20
+0000)
Change-Id: I4141e9424a2501eefda98f4b8cee73ba17c1dbc9
common/stt_config_parser.c
patch
|
blob
|
history
diff --git
a/common/stt_config_parser.c
b/common/stt_config_parser.c
index
b179ffc
..
7292a1d
100644
(file)
--- a/
common/stt_config_parser.c
+++ b/
common/stt_config_parser.c
@@
-521,7
+521,10
@@
int stt_parser_load_config(stt_config_s** config_info)
int stt_parser_unload_config(stt_config_s* config_info)
{
- if (NULL != g_config_doc) xmlFreeDoc(g_config_doc);
+ if (NULL != g_config_doc) {
+ xmlFreeDoc(g_config_doc);
+ g_config_doc = NULL;
+ }
if (NULL != config_info) {
if (NULL != config_info->engine_id) {
free(config_info->engine_id);