Fix leak in test_mem_protect_map_ptr.

This commit is contained in:
relapids 2022-08-15 05:38:29 -07:00
parent bdb141aeef
commit 2e8986174b

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)