1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-12-24 19:37:48 +03:00

tests: Don't leak memory in torture_channel_read_error().

This commit is contained in:
Andreas Schneider
2013-07-21 11:27:30 +02:00
parent 08c31ccf31
commit 2106db3efa

View File

@@ -92,6 +92,8 @@ static void torture_channel_read_error(void **state) {
break;
}
assert_true(rc == SSH_ERROR);
ssh_channel_free(channel);
}
int torture_run_tests(void) {