projects
/
platform
/
core
/
api
/
system-info.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fadf453
)
fix keyboard type error
author
Nam KwanWoo
<kw46.nam@samsung.com>
Wed, 3 Apr 2013 09:42:07 +0000
(18:42 +0900)
committer
Nam KwanWoo
<kw46.nam@samsung.com>
Wed, 3 Apr 2013 09:42:07 +0000
(18:42 +0900)
Change-Id: Iebae087e359484c5780b0b12a030ae3ae0f79b10
src/system_info_device.c
patch
|
blob
|
history
diff --git
a/src/system_info_device.c
b/src/system_info_device.c
index 300e6671f07481e4fd590e1dce779ea32b9e31f0..d866851659c44402f2453de05bff65f788f814e7 100644
(file)
--- a/
src/system_info_device.c
+++ b/
src/system_info_device.c
@@
-447,6
+447,12
@@
int system_info_get_keyboard_type(system_info_key_e key, system_info_data_type_e
return SYSTEM_INFO_ERROR_IO_ERROR;
}
+ if (!strcmp(string, "NULL")) {
+ *value = NULL;
+ free(string);
+ return SYSTEM_INFO_ERROR_NONE;
+ }
+
*value = string;
return SYSTEM_INFO_ERROR_NONE;