diff options
-rw-r--r-- | vm/vm_map.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vm/vm_map.c b/vm/vm_map.c index cded22d..26aa731 100644 --- a/vm/vm_map.c +++ b/vm/vm_map.c @@ -2556,6 +2556,7 @@ kern_return_t vm_map_copyout( */ copy->cpy_hdr.nentries = 0; copy->cpy_hdr.entries_pageable = dst_map->hdr.entries_pageable; + rbtree_init(©->cpy_hdr.tree); vm_map_copy_first_entry(copy) = vm_map_copy_last_entry(copy) = vm_map_copy_to_entry(copy); |