[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Pass mach_task_self when deallocating INIT_PORT_CWDIR
From: |
Flavio Cruz |
Subject: |
[PATCH] Pass mach_task_self when deallocating INIT_PORT_CWDIR |
Date: |
Mon, 17 Jan 2022 11:20:45 -0800 |
---
utils/login.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/login.c b/utils/login.c
index 553629c6..506fdaf2 100644
--- a/utils/login.c
+++ b/utils/login.c
@@ -788,7 +788,7 @@ main(int argc, char *argv[])
}
else
{
- mach_port_deallocate (ports[INIT_PORT_CWDIR]);
+ mach_port_deallocate (mach_task_self (), ports[INIT_PORT_CWDIR]);
ports[INIT_PORT_CWDIR] = cwd;
}
}
--
2.32.0
- [PATCH] Pass mach_task_self when deallocating INIT_PORT_CWDIR,
Flavio Cruz <=