Commit 4ba431ac authored by's avatar Committed by Erich Keane

Fix memory leak in CA android sample

Endpoint allocated memory in CA sample is not freed.

Change-Id: I3a8b2716a469b808a788952866709bf188ad0e56
Signed-off-by: default <>
Reviewed-on: default avatarjenkins-iotivity <>
Reviewed-by: default avatarjihwan seo <>
Reviewed-by: default avatarErich Keane <>
parent d92b91b5
......@@ -435,6 +435,8 @@ Java_org_iotivity_ca_service_RMInterface_RMSendReqestToAll(JNIEnv *env, jobject
if (NULL == headerOpt)
LOGE("Memory allocation failed");
// destroy remote endpoint
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment