mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-31 00:03:07 +03:00
tests: Replace ssh_buffer_free() with SSH_BUFFER_FREE()
Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
ca7da823c3
commit
79e907402e
@ -22,7 +22,7 @@ static int setup(void **state) {
|
||||
}
|
||||
|
||||
static int teardown(void **state) {
|
||||
ssh_buffer_free(*state);
|
||||
SSH_BUFFER_FREE(*state);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@ -127,7 +127,7 @@ static void torture_ssh_buffer_get_ssh_string(void **state) {
|
||||
assert_null(str);
|
||||
SSH_STRING_FREE(str);
|
||||
}
|
||||
ssh_buffer_free(buffer);
|
||||
SSH_BUFFER_FREE(buffer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user