mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 02:38:09 +09: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;
|
struct passwd *pwd;
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
privkey = ssh_key_new();
|
|
||||||
assert_true(privkey != NULL);
|
|
||||||
|
|
||||||
cert = ssh_key_new();
|
cert = ssh_key_new();
|
||||||
assert_true(cert != NULL);
|
assert_true(cert != NULL);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user