diff options
Diffstat (limited to 'libpager/data-request.c')
-rw-r--r-- | libpager/data-request.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libpager/data-request.c b/libpager/data-request.c index 77fba116..ab882c4b 100644 --- a/libpager/data-request.c +++ b/libpager/data-request.c @@ -123,7 +123,7 @@ _pager_seqnos_memory_object_data_request (mach_port_t object, _pager_mark_object_error (p, offset, length, 0); _pager_allow_termination (p); mutex_unlock (&p->interlock); - ports_drop_ref (p); + ports_port_deref (p); return 0; allow_term_out: @@ -131,13 +131,13 @@ _pager_seqnos_memory_object_data_request (mach_port_t object, _pager_allow_termination (p); mutex_unlock (&p->interlock); out: - ports_drop_ref (p); + ports_port_deref (p); return 0; error_read: memory_object_data_error (p->memobjcntl, offset, length, EIO); _pager_mark_object_error (p, offset, length, EIO); _pager_allow_termination (p); - ports_drop_ref (p); + ports_port_deref (p); return 0; } |