fixed memory leak in CA
authorjihwan.seo <jihwan.seo@samsung.com>
Thu, 2 Jul 2015 09:56:36 +0000 (18:56 +0900)
committerErich Keane <erich.keane@intel.com>
Thu, 2 Jul 2015 20:34:31 +0000 (20:34 +0000)
commit53029022bd67a3ddea2b86a21d4ce3f405d5ee9a
tree048be199d12227164aefef7e70efc37d3e86490d
parent30c9334e91be88616c4b19fc50fed9a29d20ce70
fixed memory leak in CA

As the uri is moved from Endpoint to CAInfo structure currently.
but 'free()' was not updated at that time.
so 'free()' is also need in here and there.

Change-Id: I1b3429c29c769c5920dd427688e97b517dd94f66
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1488
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: John Light <john.j.light@intel.com>
Reviewed-by: Erich Keane <erich.keane@intel.com>
resource/csdk/connectivity/common/src/caremotehandler.c
resource/csdk/connectivity/samples/linux/sample_main.c
resource/csdk/connectivity/src/camessagehandler.c