Resolved JIRA [IOT-1011]
authorRandeep Singh <randeep.s@samsung.com>
Wed, 23 Mar 2016 14:17:08 +0000 (19:47 +0530)
committerRandeep Singh <randeep.s@samsung.com>
Thu, 24 Mar 2016 04:33:38 +0000 (04:33 +0000)
Change-Id: Ifb8b72f27df662569916accb9416a7bcc2fc5ed2
Signed-off-by: saurabh.s9 <saurabh.s9@samsung.com>
Signed-off-by: Randeep Singh <randeep.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6173
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
resource/csdk/security/provisioning/src/provisioningdatabasemanager.c

index 146f77d..80b3eb2 100644 (file)
@@ -630,7 +630,7 @@ OCStackResult PDMGetLinkedDevices(const OicUuid_t *UUID, OCUuidList_t **UUIDLIST
     {
         return OC_STACK_INVALID_PARAM;
     }
-    if (NULL != *UUIDLIST)
+    if (NULL != *UUIDLIST )
     {
         OIC_LOG(ERROR, TAG, "Not null list will cause memory leak");
         return OC_STACK_INVALID_PARAM;