From fac7bebe532f05b6053315a6be505e49c500f4e0 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 21 Sep 2013 21:13:08 +0200 Subject: Fix spurious port deallocation * utils/storeinfo.c (parse_opt): Do not deallocate `file` port, `store_free` does it already. --- utils/storeinfo.c | 1 - 1 file changed, 1 deletion(-) (limited to 'utils') diff --git a/utils/storeinfo.c b/utils/storeinfo.c index a738d50d..8a9567e0 100644 --- a/utils/storeinfo.c +++ b/utils/storeinfo.c @@ -251,7 +251,6 @@ main (int argc, char *argv[]) { file_t file = file_name_lookup (arg, deref ? 0 : O_NOLINK, 0); info (file, arg, errno); - mach_port_deallocate (mach_task_self (), file); } break; -- cgit v1.2.3