Fixing OCCancel with High_QOS in observe isn't deleting CB.
authorYamin Al-Mousa <yamin.s.al-mousa@intel.com>
Wed, 7 Jan 2015 18:14:10 +0000 (10:14 -0800)
committerSudarshan Prasad <sudarshan.prasad@intel.com>
Thu, 22 Jan 2015 07:30:47 +0000 (07:30 +0000)
commit0407f06dab9fc19f1543da9e5e3b43d8ed65df18
tree98eca240158a14fcef742dadfc94e4b1dcfb3c64
parent6a8f8b7f19694f04c3a0364eea6e0b6ef6205956
Fixing OCCancel with High_QOS in observe isn't deleting CB.

(Bug IOT-126) Calling OCCancel should result in deleting all
associated structures including callbacks. This also should
happen when we deregister observation.

Change-Id: I34dd67288873ce27919a12a1d5fe244ef80751b7
Signed-off-by: Yamin Al-Mousa <yamin.s.al-mousa@intel.com>
(cherry picked from commit bd3dd4b91f1bca31402240052199f2557ad1d055)
Reviewed-on: https://gerrit.iotivity.org/gerrit/202
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sudarshan Prasad <sudarshan.prasad@intel.com>
resource/examples/simpleclientHQ.cpp
resource/src/InProcClientWrapper.cpp