[Fix/SVACE] memory leak and un-init local variables accepted/tizen/unified/20200715.115543 submit/tizen/20200714.022606
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 13 Jul 2020 07:17:15 +0000 (16:17 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 14 Jul 2020 02:24:35 +0000 (11:24 +0900)
commit8ef389036efce96f721c4a62550c2af818048cfd
treec1e3ee20818e588380cd079495619dbc9af48223
parent65e8b49a88ad4293b023b141d7419f281ef6b856
[Fix/SVACE] memory leak and un-init local variables

SVACE reported issues in Tizen CAPI unit test cases:
- 443268 (uninitialized local variable)
- 443269 (uninitialized local variable)
- 443278 (memory leak): although this is always not allocated successully, I've added "free" that fails with its error code assertion.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
tests/tizen_capi/unittest_tizen_capi.cc