• marko's avatar
    branches/zip: Map ut_malloc(), ut_realloc(), ut_free() to · f4cccb1f
    marko authored
    malloc(), realloc(), free() when innodb_use_sys_malloc is set.
    
    ut_free_all_mem(): If innodb_use_sys_malloc is set, do nothing,
    because then ut_mem_block_list_inited will never be set.
    
    log_init(): Use mem_alloc() instead of ut_malloc(), so that the
    memory will be freed.  (Tested with Valgrind, although it is not
    clear why the memory would be freed.)
    
    rb://86 approved by Heikki Tuuri and Ken Jacobs.  This addresses Issue #168.
    f4cccb1f
ut0mem.c 15.8 KB