Commit b78db650 authored by Abhishek Pandey's avatar Abhishek Pandey

[Easy Setup] Memory leak fix

JIRA IOT-2721: https://jira.iotivity.org/browse/IOT-2721

Change-Id: Ie9309fc6830b5473e8b7482b798d59bb2aed2e13
Signed-off-by: default avatarAbhishek Pandey <abhi.siso@samsung.com>
parent 55aa6320
......@@ -370,6 +370,8 @@ void updateEasySetupResource(OCEntityHandlerRequest* ehRequest, OCRepPayload* in
if(NULL == uri || NULL == repPayload)
{
children = children->next;
OCRepPayloadDestroy(repPayload);
OICFree(href);
continue;
}
......
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