mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
fix error handled instances of key deletes
This commit is contained in:
parent
f00a4aead6
commit
f9e9a743fb
1 changed files with 2 additions and 2 deletions
|
@ -66,11 +66,11 @@ void RSAKeypairGenerator::generateKeypair() {
|
|||
|
||||
// cleanup the public and private key DER data, if required
|
||||
if (publicKeyLength > 0) {
|
||||
delete publicKeyDER;
|
||||
delete[] publicKeyDER;
|
||||
}
|
||||
|
||||
if (privateKeyLength > 0) {
|
||||
delete privateKeyDER;
|
||||
delete[] privateKeyDER;
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue