Issue #166 : wrong free function was used in unit_mem_manager.c