1
0
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:
Andreas Schneider
2016-11-04 08:15:38 +01:00
parent d8474207b6
commit 5b84772343

View File

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