projects
/
platform
/
framework
/
native
/
appfw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix memory leaks in the Security namespace
[platform/framework/native/appfw.git]
/
src
/
security
/
crypto
/
FSecCrypto_KeaCore.cpp
diff --git
a/src/security/crypto/FSecCrypto_KeaCore.cpp
b/src/security/crypto/FSecCrypto_KeaCore.cpp
index
d2d4dda
..
4d6786f
100644
(file)
--- a/
src/security/crypto/FSecCrypto_KeaCore.cpp
+++ b/
src/security/crypto/FSecCrypto_KeaCore.cpp
@@
-95,6
+95,8
@@
_KeaCore::DeleteKea(Kea* pKea)
{
BN_clear_free(pKea->pPrivKey2);
}
{
BN_clear_free(pKea->pPrivKey2);
}
+
+ delete pKea;
}
result
}
result