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:
Anderson Toshiyuki Sasaki
2018-09-25 10:59:12 +02:00
committed by Andreas Schneider
parent ee034e0484
commit 721132696c
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);
}
}
}