mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 18:45:10 +01:00
#3260: Memory leak in EVPPKey::loadKey used with files & wrong password
This commit is contained in:
parent
aa32399e26
commit
f5de69b854
@ -198,6 +198,7 @@ private:
|
||||
if (!*ppKey) goto error;
|
||||
return true;
|
||||
}
|
||||
if (getFunc) EVP_PKEY_free(pKey);
|
||||
goto error;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user