Commit 88b151d8 authored by spurthi.segu's avatar spurthi.segu Committed by Madan Lanka

FindResource and CreateResource issue fix in Simulator.

Change-Id: I79b060680e52be77fb8779a12ca701e0d3eadbdf
Signed-off-by: default avatarspurthi.segu <spurthi.segu@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/3731Tested-by: default avatarjenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: default avatarMadan Lanka <lanka.madan@samsung.com>
parent 620dc9e0
......@@ -217,7 +217,6 @@ class JNIFoundResourceListener
return;
}
delete jniSimulatorResource;
releaseEnv();
}
......
......@@ -52,7 +52,7 @@ SimulatorResourceServerImplSP SimulatorResourceCreator::createResource(
if (ramlResource)
{
SimulatorResourceServerImplSP simResource = std::make_shared<SimulatorResourceServerImpl>();
SimulatorResourceServerImplSP simResource(new SimulatorResourceServerImpl());
simResource->setName(ramlResource->getDisplayName());
simResource->setURI(ramlResource->getResourceUri());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment