service is terminated when repeated starts and stops.
authorjaesick.shin <jaesick.shin@samsung.com>
Mon, 4 Jul 2016 04:52:50 +0000 (13:52 +0900)
committerUze Choi <uzchoi@samsung.com>
Wed, 6 Jul 2016 12:03:37 +0000 (12:03 +0000)
commitc8a9c14892561dab4c6bf1d5d787e925a078c402
tree3b226fab9d63dc09b9820ed02bb3d5dba5c25514
parenta6f4e5ff77b68f2d658adfa14de18b9a30685999
service is terminated when repeated starts and stops.

The reason for this issue is due to deallocate the
variables that are created as char array when the nsstopprovider operating.
so, that bug is fixed.

Change-Id: I6d8fc5ca9f719b8236f9660376604ed41a04ef81
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/9139
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/notification/src/common/NSStructs.h
service/notification/src/provider/NSProviderResource.c
service/notification/src/provider/NSProviderSubscription.c
service/notification/src/provider/cache/linux/NSProviderMemoryCache.c