projects
/
platform
/
core
/
appfw
/
librua.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
871fb65
)
Fix a bug about getting compnent id
72/223772/1
author
Hwankyu Jhun
<h.jhun@samsung.com>
Tue, 4 Feb 2020 01:30:53 +0000
(10:30 +0900)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Tue, 4 Feb 2020 01:30:53 +0000
(10:30 +0900)
Change-Id: I539be671ece605a89965004e8a953d394eafeca1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/rua_context.c
patch
|
blob
|
history
diff --git
a/src/rua_context.c
b/src/rua_context.c
index
8b80a16
..
e015d26
100644
(file)
--- a/
src/rua_context.c
+++ b/
src/rua_context.c
@@
-161,7
+161,7
@@
API int rua_context_get_component_id(rua_context_h context, char **component_id)
}
if (context->component_id) {
- *component_id =
context->component_id
;
+ *component_id =
strdup(context->component_id)
;
if (*component_id == NULL) {
_E("Out of memory");
return RUA_ERROR_OUT_OF_MEMORY;