#3260: Memory leak in EVPPKey::loadKey used with files & wrong password

This commit is contained in:
Günter Obiltschnig 2021-06-15 14:43:21 +02:00
parent aa32399e26
commit f5de69b854

View File

@ -198,6 +198,7 @@ private:
if (!*ppKey) goto error;
return true;
}
if (getFunc) EVP_PKEY_free(pKey);
goto error;
}
else