summaryrefslogtreecommitdiff
path: root/libpager/chg-compl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpager/chg-compl.c')
-rw-r--r--libpager/chg-compl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libpager/chg-compl.c b/libpager/chg-compl.c
index cc11e044..6080bf2d 100644
--- a/libpager/chg-compl.c
+++ b/libpager/chg-compl.c
@@ -48,8 +48,9 @@ _pager_seqnos_memory_object_change_completed (mach_port_t obj,
if (ar)
condition_broadcast (&p->wakeup);
- _pager_release_seqno (p);
+ _pager_release_seqno (p, seq);
mutex_unlock (&p->interlock);
+ ports_done_with_port (p);
return 0;
}