summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-09-21 21:13:08 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-09-21 21:13:08 +0200
commitfac7bebe532f05b6053315a6be505e49c500f4e0 (patch)
tree66fac604e1f24067541a6ff30aee7a3290b92162 /utils
parentf73b0c1a45a7c73fcc034f7fd34ae906dd51b4ad (diff)
Fix spurious port deallocation
* utils/storeinfo.c (parse_opt): Do not deallocate `file` port, `store_free` does it already.
Diffstat (limited to 'utils')
-rw-r--r--utils/storeinfo.c1
1 files changed, 0 insertions, 1 deletions
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;