Commit d0aace17 authored by gerd's avatar gerd

fd leak

git-svn-id: 55289a75-7b90-4627-9e07-ffb4263930b2
parent 09307476
......@@ -126,6 +126,7 @@ let proc_write_shm conf (shm_obj, block) =
mem_fd shm_obj.Rpcapi_aux.shm_offset shm_obj.Rpcapi_aux.shm_length
with error -> Unix.close mem_fd; raise error in
Unix.close mem_fd;
Dn_store.write_block store block mem 0;
Netsys_mem.memory_unmap_file mem
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