Fix invalid memory access on resource broker module.
authorjyong2.kim <jyong2.kim@samsung.com>
Thu, 23 Jul 2015 08:01:17 +0000 (17:01 +0900)
committerUze Choi <uzchoi@samsung.com>
Fri, 24 Jul 2015 07:05:41 +0000 (07:05 +0000)
commit84d03f5a9472b1f0de125d1fb9738c1e774ef7db
treee3b94c62e3a36a6e48effcbe9ef528f34bf44dce
parentc9b5cf0c8052c066a4af29cf0d50179428d58367
Fix invalid memory access on resource broker module.

remove the duplicated memory access on list.
invalidate callback in deleted instance.
delete useless member variable on ResourcePresence class.

Change-Id: If6b3831fa2355140b23efdafc213615280e336ac
Signed-off-by: jyong2.kim <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1844
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: kwon doil <doil.kwon@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/notification-manager/NotificationManager/src/HostingObject.cpp
service/resource-manipulation/src/resourceBroker/include/BrokerTypes.h
service/resource-manipulation/src/resourceBroker/include/ResourcePresence.h
service/resource-manipulation/src/resourceBroker/src/ResourcePresence.cpp