memory leaks fix 20/29320/3
authorOleksandr Dmytrenko <o.dmytrenko@samsung.com>
Wed, 6 Mar 2019 16:08:06 +0000 (18:08 +0200)
committerAleksey Volkov <a.volkov@samsung.com>
Mon, 11 Mar 2019 09:22:49 +0000 (09:22 +0000)
commit9dc0dbf9a286cf07ba70ba47932a7f92298067e6
tree9eed21b3b5e4780d29a804d25ff69f88f85790a3
parentcf1feceefca79d5091558ccbe69810fd08c2f919
memory leaks fix

==29556== 68 (64 direct, 4 indirect) bytes in 1 blocks are definitely lost in loss record 291 of 568
==29556==    at 0x4837B85: calloc (vg_replace_malloc.c:752)
==29556==    by 0x36FE93: OICCalloc (oic_malloc.c:102)
==29556==    by 0x2DB355: CBORPayloadToPstatBin (pstatresource.c:450)
==29556==    by 0x2DB160: CBORPayloadToPstat (pstatresource.c:418)
==29556==    by 0x232EA7: ListMethodsHandler (ownershiptransfermanager.c:1073)

Change-Id: I882b145c0ccf86dfce3736fc24e3c3949a3f00ee
Signed-off-by: Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
resource/csdk/security/provisioning/src/ownershiptransfermanager.c