diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-09-18 13:33:05 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-25 14:36:46 +0200 |
commit | ab0c5259e5a3238e176e4b1aed942f5384a2d0c6 (patch) | |
tree | 20111eefcafa13d92485ba6a0738c480f5c0c319 /tests/main.c | |
parent | 7028a74894eba649beb9e1881dabaf94a29961a0 (diff) |
Fix leak on parse failure
Diffstat (limited to 'tests/main.c')
-rw-r--r-- | tests/main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/main.c b/tests/main.c index 265a0ea..019f8d9 100644 --- a/tests/main.c +++ b/tests/main.c @@ -190,8 +190,6 @@ static void test_load_gl(void) { FAIL_TEST_CLEANUP(full_path); } - printf("glfw init ptr: %p, glfw terminate: %p\n", glfwInit, glfwTerminate); - if(amal_program_register_extern_func(&program, create_buffer_view_auto("glfwInit"), glfwInit, 0) != 0) { fprintf(stderr, "Unexpected error (alloc failure)\n"); FAIL_TEST_CLEANUP(full_path); |