summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
916a88f)
Setting info->token to NULL after free to avoid double free
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/582
(cherry-picked from
3fb0338b52b04ee58f12bb46f27ef20cf12c2d47)
Change-Id: If6268f9ebb9965b84809c54d38b3b3826cf51830
Signed-off-by: sourav bhuwalka <s.bhuwalka@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
{
OIC_LOG(ERROR, TAG, "fail to get Token from retransmission list");
OICFree(info->token);
{
OIC_LOG(ERROR, TAG, "fail to get Token from retransmission list");
OICFree(info->token);
info->tokenLength = 0;
}
}
info->tokenLength = 0;
}
}