tests: Fix memory leak in torture_auth_cert

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider
2016-11-05 11:13:43 +01:00
parent fbe8ccdf3b
commit e9aebb1198

View File

@@ -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);