mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-01-06 14:21:55 +03:00
tests: Fix memory leak in torture_auth_cert
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -500,9 +500,6 @@ static void torture_auth_cert(void **state) {
|
||||
struct passwd *pwd;
|
||||
int rc;
|
||||
|
||||
privkey = ssh_key_new();
|
||||
assert_true(privkey != NULL);
|
||||
|
||||
cert = ssh_key_new();
|
||||
assert_true(cert != NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user