projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update snapshot(2017-12-06)
[platform/upstream/iotivity.git]
/
service
/
easy-setup
/
enrollee
/
src
/
resourcehandler.c
diff --git
a/service/easy-setup/enrollee/src/resourcehandler.c
b/service/easy-setup/enrollee/src/resourcehandler.c
index
eb626c8
..
d3dc37b
100755
(executable)
--- a/
service/easy-setup/enrollee/src/resourcehandler.c
+++ b/
service/easy-setup/enrollee/src/resourcehandler.c
@@
-426,6
+426,8
@@
void updateWiFiConfResource(OCRepPayload* input)
OIC_LOG(DEBUG, ES_RH_TAG, "Enrollee doesn't have any observer.");
}
OIC_LOG(DEBUG, ES_RH_TAG, "Enrollee doesn't have any observer.");
}
+ OICFree(ssid);
+ OICFree(cred);
OICFree(wiFiData);
}
OICFree(wiFiData);
}
@@
-511,6
+513,10
@@
void updateCoapCloudConfResource(OCRepPayload* input)
OIC_LOG(DEBUG, ES_RH_TAG, "CoapCloudConf resource doesn't have any observer.");
}
OIC_LOG(DEBUG, ES_RH_TAG, "CoapCloudConf resource doesn't have any observer.");
}
+ OICFree(authCode);
+ OICFree(accessToken);
+ OICFree(authProvider);
+ OICFree(ciServer);
OICFree(cloudData);
}
OICFree(cloudData);
}