mirror of
https://github.com/Neo-Desktop/WindowsXPKg
synced 2024-11-18 03:41:00 +02:00
BN_free() memleaks
This commit is contained in:
parent
ecd9cd8dd2
commit
12a041c380
@ -100,6 +100,13 @@ EC_GROUP* PIDGEN3::initializeEllipticCurve(
|
|||||||
|
|
||||||
// Cleanup
|
// Cleanup
|
||||||
BN_CTX_free(context);
|
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;
|
return eCurve;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user