Fix memory leaks in the Security namespace
[platform/framework/native/appfw.git] / src / security / crypto / FSecCrypto_KeaCore.cpp
index d2d4dda..4d6786f 100644 (file)
@@ -95,6 +95,8 @@ _KeaCore::DeleteKea(Kea* pKea)
        {
                BN_clear_free(pKea->pPrivKey2);
        }
+
+       delete pKea;
 }
 
 result