IOT-945: Fixing segmentation fault issue
authorMarkus Jung <markus.jung@samsung.com>
Wed, 9 Mar 2016 09:53:06 +0000 (18:53 +0900)
committerJungHo Kim <jhyo.kim@samsung.com>
Fri, 11 Mar 2016 05:04:55 +0000 (05:04 +0000)
commit6db3155bd07c9394a1e8409077d95aac709180aa
treeb663a019dde553401c73d8af91cdbfe5f08758d3
parentc35094220f8fcfeaa40c4befc9e9c1883756fe3a
IOT-945: Fixing segmentation fault issue

- Using smart pointers for managing bundles
- Changing APIs to use smart pointers

NOTE: this patch breaks backward compatibility with previous APIs

Change-Id: Ibeb833c3a0381856ca96747404302ae4bc308a39
Signed-off-by: Markus Jung <markus.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5661
Reviewed-by: Inga Stotland <inga.stotland@intel.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: JungHo Kim <jhyo.kim@samsung.com>
service/resource-container/examples/ContainerSample.cpp
service/resource-container/src/BundleInfoInternal.cpp
service/resource-container/src/BundleInfoInternal.h
service/resource-container/src/ResourceContainerImpl.cpp
service/resource-container/src/ResourceContainerImpl.h
service/resource-container/unittests/ResourceContainerTest.cpp