Merge pull request #1684 from relapids/test_mem_leak

Fix leak in test_mem_protect_map_ptr. (#1682)
This commit is contained in:
lazymio 2022-08-15 20:31:56 +02:00 committed by GitHub
commit c9d0f86253
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,6 +142,9 @@ static void test_mem_protect_map_ptr(void)
TEST_CHECK(val == mem);
OK(uc_close(uc));
free(data2);
free(data1);
}
static void test_map_at_the_end(void)