Merge pull request #1684 from relapids/test_mem_leak
Fix leak in test_mem_protect_map_ptr. (#1682)
This commit is contained in:
commit
c9d0f86253
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue