Fix a wrong usage of return value of getMediatorDevId API
authorJihun Ha <jihun.ha@samsung.com>
Tue, 7 Feb 2017 01:03:53 +0000 (10:03 +0900)
committerUze Choi <uzchoi@samsung.com>
Tue, 7 Feb 2017 06:54:03 +0000 (06:54 +0000)
commit70747fd29fbae5eff9b86926318c75de0964a0a0
tree37c5b90e1fae4d8e69afadec4f77e4b1718a8326
parentbc88acf86999528cac20e6a83f54743f0860c0d0
Fix a wrong usage of return value of getMediatorDevId API

Instead of OCUUIdentity *, a value of std::string should be returned.
Additionally, removed a defect point in returning a value after OICFree

Change-Id: Ibcd204b14ea6f488f689ff0ff61da9b618124a4d
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17085
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/easy-setup/mediator/richsdk/src/EnrolleeSecurity.cpp
service/easy-setup/mediator/richsdk/src/EnrolleeSecurity.h