diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2016-11-05 11:13:43 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2016-11-05 11:13:43 +0100 |
commit | e9aebb1198bad4b97af0c2c4f13d2ff3340c3289 (patch) | |
tree | 70b6b1904b30f046b7115b26a70a5115144edc1a | |
parent | fbe8ccdf3b0f2a575da3705fdd187faf7266ae65 (diff) | |
download | libssh-e9aebb1198bad4b97af0c2c4f13d2ff3340c3289.tar.gz libssh-e9aebb1198bad4b97af0c2c4f13d2ff3340c3289.tar.xz libssh-e9aebb1198bad4b97af0c2c4f13d2ff3340c3289.zip |
tests: Fix memory leak in torture_auth_cert
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r-- | tests/client/torture_auth.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/client/torture_auth.c b/tests/client/torture_auth.c index 6c341b92..96fceb77 100644 --- a/tests/client/torture_auth.c +++ b/tests/client/torture_auth.c @@ -500,9 +500,6 @@ static void torture_auth_cert(void **state) { struct passwd *pwd; int rc; - cert = ssh_key_new(); - assert_true(cert != NULL); - pwd = getpwnam("bob"); assert_non_null(pwd); |