Commit 6ef25530 authored by marko's avatar marko

branches/zip: ut_mem_init(): Add the assertion !ut_mem_block_list_inited.

parent fd930082
......@@ -69,6 +69,7 @@ void
ut_mem_init(void)
/*=============*/
{
ut_a(!ut_mem_block_list_inited);
os_fast_mutex_init(&ut_list_mutex);
UT_LIST_INIT(ut_mem_block_list);
ut_mem_block_list_inited = TRUE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment