[IOT-1917]Fix memory leak: cert/key/CRL
authorOleksandr Dmytrenko <o.dmytrenko@samsung.com>
Tue, 21 Mar 2017 13:40:52 +0000 (15:40 +0200)
committerPhil Coval <philippe.coval@osg.samsung.com>
Tue, 27 Jun 2017 11:58:15 +0000 (11:58 +0000)
commiteb187c127c6a1680a771dac48eeb6a33919d0ad5
treed0e9f11cb7a58bbcfa42625118efdcf1bd76f04c
parent81107c91b16e4c7e314e2e3026e547a6e5cc0d1e
[IOT-1917]Fix memory leak: cert/key/CRL

Fix memory leak: cert/key/CRL information returned by cred resource
https://jira.iotivity.org/browse/IOT-1917

Change-Id: Ic563b5e5b79ccac8855ebb5b215e475d1b4e57be
Signed-off-by: Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/18057
Reviewed-by: Andrii Shtompel <a.shtompel@samsung.com>
Reviewed-by: Kevin Kane <kkane@microsoft.com>
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Greg Zaverucha <gregz@microsoft.com>
(cherry picked from commit dba44fd8ce7219897966054446c992184369fbfa)
Reviewed-on: https://gerrit.iotivity.org/gerrit/20933
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
resource/c_common/byte_array.h
resource/csdk/connectivity/api/casecurityinterface.h
resource/csdk/connectivity/src/adapter_util/ca_adapter_net_ssl.c
resource/csdk/connectivity/test/ssladapter_test.cpp