projects
/
platform
/
core
/
system
/
buxton2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7beaaa1
)
vconf-compat: fix keynode unknown type
86/44186/1
accepted/tizen/mobile/20150718.081949
accepted/tizen/tv/20150718.082210
accepted/tizen/wearable/20150718.082453
submit/tizen/20150717.121043
author
Suchang Woo
<suchang.woo@samsung.com>
Fri, 17 Jul 2015 13:04:01 +0000
(22:04 +0900)
committer
Suchang Woo
<suchang.woo@samsung.com>
Fri, 17 Jul 2015 13:04:01 +0000
(22:04 +0900)
In vconf_keylist_add_str() keynode's type is not set.
Setting the type of keynode is added.
Change-Id: I8072749ae7f4225efadbc894b0799585937142f7
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
vconf-compat/vconf.c
patch
|
blob
|
history
diff --git
a/vconf-compat/vconf.c
b/vconf-compat/vconf.c
index
f1a9c0f
..
3b52081
100644
(file)
--- a/
vconf-compat/vconf.c
+++ b/
vconf-compat/vconf.c
@@
-915,6
+915,7
@@
EXPORT int vconf_keylist_add_str(keylist_t *keylist,
if (keynode->type == VCONF_TYPE_STRING)
free(keynode->value.s);
+ keynode->type = VCONF_TYPE_STRING;
keynode->value.s = s;
return 0;