projects
/
test
/
tct
/
native
/
api.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bff1f3
)
[ITC][iotcon][NON-ACR][fix the crash]
author
Jooseok Park
<jooseok.park@samsung.com>
Mon, 6 Feb 2017 06:42:04 +0000
(15:42 +0900)
committer
Jooseok Park
<jooseok.park@samsung.com>
Mon, 6 Feb 2017 06:44:45 +0000
(15:44 +0900)
- uri_path in iotcon_resource_get_uri_path() shouldn't released by user.
- please refer this API description
Change-Id: I257cb6eeb9963e7d4fcec2f0cfbf389750e4b3b8
src/itc/iotcon/ITs-iotcon-resource.c
patch
|
blob
|
history
diff --git
a/src/itc/iotcon/ITs-iotcon-resource.c
b/src/itc/iotcon/ITs-iotcon-resource.c
index e8270b14992bb87e4829cf7280719eac7a883de6..8257507995059d91f47fc37a45d35e59bde59e1c 100644
(file)
--- a/
src/itc/iotcon/ITs-iotcon-resource.c
+++ b/
src/itc/iotcon/ITs-iotcon-resource.c
@@
-1558,11
+1558,11
@@
int ITc_iotcon_resource_get_uri_path_p(void)
if (strcmp(REMOTE_RESOURCE_LIGHT, uri) != 0)
{
IotconDestroyRes();
- free(uri);
+
//
free(uri);
return 1;
}
IotconDestroyRes();
- free(uri);
+
//
free(uri);
return 0;
}