fixed leaks in test cases (#1247)

This commit is contained in:
Dominik Maier
2020-05-02 12:18:18 +02:00
committed by GitHub
parent 1ad541cd55
commit 9fedbd96f4
6 changed files with 6 additions and 0 deletions

View File

@@ -63,6 +63,8 @@ static void test_basic(void **state)
uc_assert_success(uc_mem_unmap(uc, mem_start, mem_len));
assert_memory_equal(buf, host_mem, 4);
free(host_mem);
}
int main(void) {