diff options
-rw-r--r-- | libstore/device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libstore/device.c b/libstore/device.c index 3a72df48..bbb2fe9e 100644 --- a/libstore/device.c +++ b/libstore/device.c @@ -119,6 +119,7 @@ dopen (const char *name, device_t *device, int *mod_flags) static void dclose (struct store *store) { + device_close (store->port); mach_port_deallocate (mach_task_self (), store->port); store->port = MACH_PORT_NULL; } |