1
0
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:
Anderson Toshiyuki Sasaki
2018-09-25 10:59:12 +02:00
committed by Andreas Schneider
parent ca7da823c3
commit 79e907402e
2 changed files with 11 additions and 11 deletions

View File

@ -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);
}
}
}