diff options
Diffstat (limited to 'tests/vboot_display_tests.c')
-rw-r--r-- | tests/vboot_display_tests.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/vboot_display_tests.c b/tests/vboot_display_tests.c index 99d14f21..ff036d23 100644 --- a/tests/vboot_display_tests.c +++ b/tests/vboot_display_tests.c @@ -63,9 +63,9 @@ static void ResetMocks(void) /* * Note, VbApiKernelFree() expects this to be allocated by - * VbExMalloc(), so we cannot just assign it staticly. + * malloc(), so we cannot just assign it staticly. */ - cparams.gbb = VbExMalloc(sizeof(*gbb)); + cparams.gbb = malloc(sizeof(*gbb)); gbb->header_size = sizeof(*gbb); gbb->rootkey_offset = gbb_used; gbb->rootkey_size = 64; @@ -264,8 +264,5 @@ int main(void) DisplayKeyTest(); FontTest(); - if (vboot_api_stub_check_memory()) - return 255; - return gTestSuccess ? 0 : 255; } |