projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
svace fixes
[platform/upstream/iotivity.git]
/
resource
/
csdk
/
security
/
src
/
credresource.c
diff --git
a/resource/csdk/security/src/credresource.c
b/resource/csdk/security/src/credresource.c
index
0bdaa5f
..
40aab22
100644
(file)
--- a/
resource/csdk/security/src/credresource.c
+++ b/
resource/csdk/security/src/credresource.c
@@
-2619,6
+2619,7
@@
int32_t GetDtlsPskCredentials(CADtlsPskCredType_t type,
if(B64_OK != b64Decode((char*)wildCardCred->privateData.data, wildCardCred->privateData.len, pinBuffer, pinBufSize, &pinLength))
{
OIC_LOG (ERROR, TAG, "Failed to base64 decoding.");
+ OICFree(pinBuffer);
return ret;
}
}