[IOT-2686][Android] Discovery fails for BT/LE 63/22363/3
authorVeeraj Khokale <veeraj.sk@samsung.com>
Thu, 7 Sep 2017 09:06:40 +0000 (14:36 +0530)
committerAshok Babu Channa <ashok.channa@samsung.com>
Fri, 15 Sep 2017 11:48:39 +0000 (11:48 +0000)
commit61d276f0e26e12794343ced3f05eb646212ab25c
treef6a7c6200d3f5ff8f546c9b7ea97a8744e55bbd3
parentc3af8d8b58d7f24e21d881a191e02c5ceb3a5df8
[IOT-2686][Android] Discovery fails for BT/LE

OCCopyResource() should not return NULL if creating
the endpoint payload list returns NULL.

Change-Id: I069dbfc0530c2b6560a55e650bc993beef120714
Signed-off-by: Veeraj Khokale <veeraj.sk@samsung.com>
resource/csdk/stack/src/ocpayload.c