Add Failure check for OCGetResourceIns() in OCRDDeleteWithDeviceId(). 17/20317/4
authorZiran Sun <ziran.sun@samsung.com>
Tue, 23 May 2017 10:33:53 +0000 (11:33 +0100)
committerZiran Sun <ziran.sun@samsung.com>
Fri, 26 May 2017 09:13:12 +0000 (09:13 +0000)
commitc22b1d43107c93c0a1fe600386a3e6a8422b083f
tree68095ee9dab129067a8078330d0485220d460950
parenta532ef729f3d4836975615583b2d8c8a9de63c21
Add Failure check for OCGetResourceIns() in OCRDDeleteWithDeviceId().

Bug: https://jira.iotivity.org/browse/IOT-1809
Change-Id: I1aac3d7fae0dfc5fbee4d9715b328d18bd492b14
Signed-off-by: Ziran Sun <ziran.sun@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20317
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Todd Malsbary <todd.malsbary@intel.com>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
resource/csdk/resource-directory/src/rd_client.c
resource/csdk/stack/src/ocstack.c