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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user