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

This commit is contained in:
marko 2009-02-23 22:11:11 +00:00
parent 2a28abf039
commit 94a226d16d

View file

@ -69,6 +69,7 @@ void
ut_mem_init(void) ut_mem_init(void)
/*=============*/ /*=============*/
{ {
ut_a(!ut_mem_block_list_inited);
os_fast_mutex_init(&ut_list_mutex); os_fast_mutex_init(&ut_list_mutex);
UT_LIST_INIT(ut_mem_block_list); UT_LIST_INIT(ut_mem_block_list);
ut_mem_block_list_inited = TRUE; ut_mem_block_list_inited = TRUE;