Fill in allocated memory with values depending on thread id (test_malloc)
authorIvan Maidanski <ivmai@mail.ru>
Wed, 20 Dec 2017 07:31:07 +0000 (10:31 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 22 Dec 2017 07:46:45 +0000 (10:46 +0300)
commit0627b26b747b946c988d2ed4ce466691b1f4e98d
tree0ef75f3ae682d04b91bbca6e350458ea9f8ed34c
parent05d9aab3321541ab10e83c73cb0d9681f82fbe63
Fill in allocated memory with values depending on thread id (test_malloc)

* tests/test_malloc.c (run_one_test): Define new local variables a, b
(with the values depending on arg); replace 'a' and 'b' with a and b,
respectively; reformat the code; return NULL instead of arg; remove
the comment (the workaround is no longer needed).
tests/test_malloc.c