diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2020-02-04 10:30:53 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2020-02-04 10:30:53 +0900 |
commit | a89e862e7eec88be16a8901d434b23dd4eaea346 (patch) | |
tree | a35b5ca69a694b52b64f7bf640155e5d49c1744c | |
parent | 871fb65e8a80b56d150553db0b35854304e75033 (diff) | |
download | librua-a89e862e7eec88be16a8901d434b23dd4eaea346.tar.gz librua-a89e862e7eec88be16a8901d434b23dd4eaea346.tar.bz2 librua-a89e862e7eec88be16a8901d434b23dd4eaea346.zip |
Fix a bug about getting compnent id
Change-Id: I539be671ece605a89965004e8a953d394eafeca1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rw-r--r-- | src/rua_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rua_context.c b/src/rua_context.c index 8b80a16..e015d26 100644 --- 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; |