git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6048 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Damien Doligez 2004-01-03 12:15:49 +00:00
parent 0c7aecb88d
commit 6652a576a6
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ char *caml_alloc_for_heap (asize_t request)
void caml_free_for_heap (char *mem) void caml_free_for_heap (char *mem)
{ {
#ifdef USE_MMAP_INSTEAD_OF_MALLOC #ifdef USE_MMAP_INSTEAD_OF_MALLOC
aligned_caml_munmap (Chunk_block (mem), caml_aligned_munmap (Chunk_block (mem),
Chunk_size (mem) + sizeof (heap_chunk_head)); Chunk_size (mem) + sizeof (heap_chunk_head));
#else #else
free (Chunk_block (mem)); free (Chunk_block (mem));