From: Jooseok Park Date: Mon, 6 Feb 2017 06:42:04 +0000 (+0900) Subject: [ITC][iotcon][NON-ACR][fix the crash] X-Git-Tag: 4.0_Bringup~56^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=844a99d45c0e085ea6632420a51e60706dcb7943;p=test%2Ftct%2Fnative%2Fapi.git [ITC][iotcon][NON-ACR][fix the crash] - uri_path in iotcon_resource_get_uri_path() shouldn't released by user. - please refer this API description Change-Id: I257cb6eeb9963e7d4fcec2f0cfbf389750e4b3b8 --- diff --git a/src/itc/iotcon/ITs-iotcon-resource.c b/src/itc/iotcon/ITs-iotcon-resource.c index e8270b149..825750799 100644 --- 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; }