mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
tests: Fix memory leak in torture_callbacks
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -235,6 +235,8 @@ static void torture_callbacks_iterate(void **state){
|
|||||||
|
|
||||||
assert_int_equal(w, 10);
|
assert_int_equal(w, 10);
|
||||||
assert_int_equal(v, 1);
|
assert_int_equal(v, 1);
|
||||||
|
|
||||||
|
ssh_list_free(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
int torture_run_tests(void) {
|
int torture_run_tests(void) {
|
||||||
|
|||||||
Reference in New Issue
Block a user