Fixed issues reported by Prevent static analysis tool
Fix issues in CA and Routing manager reported by Prevent tool
Change-Id: I855181fa12e8e8b483f48c071fa6e12de9b94c2c
Signed-off-by: Sandipan Patra <sandipan.p@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/3857
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Abhishek Pandey <abhi.siso@samsung.com>
Reviewed-by: Abhishek Sharma <ce.abhishek@samsung.com>
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
(cherry picked from commit
adb97afe0f0b1c8b4fcd2b44495531ccd5ee4dd6)
Reviewed-on: https://gerrit.iotivity.org/gerrit/4459