summaryrefslogtreecommitdiff
path: root/service/notification/src/common/NSUtil.c
diff options
context:
space:
mode:
Diffstat (limited to 'service/notification/src/common/NSUtil.c')
-rw-r--r--service/notification/src/common/NSUtil.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/service/notification/src/common/NSUtil.c b/service/notification/src/common/NSUtil.c
index 35c1e258c..53c62c499 100644
--- a/service/notification/src/common/NSUtil.c
+++ b/service/notification/src/common/NSUtil.c
@@ -291,6 +291,7 @@ NSSyncInfo * NSGetSyncInfo(OCPayload * payload)
if (!OCRepPayloadGetPropInt(repPayload, NS_ATTRIBUTE_STATE, &state))
{
OICFree(retSync);
+ OICFree(providerId);
return NULL;
}