diff --git a/src/libumskt/pidgen3/util.cpp b/src/libumskt/pidgen3/util.cpp index b6aad7b..2255af5 100644 --- a/src/libumskt/pidgen3/util.cpp +++ b/src/libumskt/pidgen3/util.cpp @@ -100,6 +100,13 @@ EC_GROUP* PIDGEN3::initializeEllipticCurve( // Cleanup BN_CTX_free(context); + BN_free(p); + BN_free(a); + BN_free(b); + BN_free(generatorX); + BN_free(generatorY); + BN_free(publicKeyX); + BN_free(publicKeyY); return eCurve; }