Change-Id: I79b060680e52be77fb8779a12ca701e0d3eadbdf
Signed-off-by: spurthi.segu <spurthi.segu@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/3729
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
return;
}
- delete jniSimulatorResource;
releaseEnv();
}
if (ramlResource)
{
- SimulatorResourceServerImplSP simResource = std::make_shared<SimulatorResourceServerImpl>();
+ SimulatorResourceServerImplSP simResource(new SimulatorResourceServerImpl());
simResource->setName(ramlResource->getDisplayName());
simResource->setURI(ramlResource->getResourceUri());