mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 18:04:25 +09: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>
(cherry picked from commit 79e907402e)
This commit is contained in:
committed by
Andreas Schneider
parent
ee034e0484
commit
721132696c
@@ -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