Fixed Klocwork errors in InProcClientWrapper.cpp
authorErich Keane <erich.keane@intel.com>
Mon, 2 Mar 2015 21:04:47 +0000 (13:04 -0800)
committerSashi Penta <sashi.kumar.penta@intel.com>
Fri, 6 Mar 2015 15:33:13 +0000 (15:33 +0000)
commita20341653ddea0dc3235a0c5d27e58a5ba38f497
treed0b0d038f46088c732537df98b1e90a7670e6e96
parent2da010ceef43c7d289862d6efaabb042df4e9c4b
Fixed Klocwork errors in InProcClientWrapper.cpp

Klocworks identified a number of issues as memory leaks, so
this fix updates the calls to use the newer version of OCDoResource
which permits passing of a NULL rather than using the out parameter.

Change-Id: I02cf1d83d4dfafca0773e6e3385881d180335de4
Signed-off-by: Erich Keane <erich.keane@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/428
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sakthivel Samidurai <sakthivel.samidurai@intel.com>
Reviewed-by: Sashi Penta <sashi.kumar.penta@intel.com>
resource/src/InProcClientWrapper.cpp