Fix defects detected by static code analyzer
Checking if a OICMalloc is failed is added. Calling OICFree to prevent a memory leak is added. Follow coding convention padding after condition "if (" Change-Id: Ifdd2ba5f747758bd0120ff396f7441b77a444b81 Signed-off-by:Jihun Ha <jihun.ha@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/17971Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Uze Choi <uzchoi@samsung.com>
Showing
This diff is collapsed.
Please register or sign in to comment