[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 25/37: libdiskfs: fix port leak
From: |
Samuel Thibault |
Subject: |
[hurd] 25/37: libdiskfs: fix port leak |
Date: |
Mon, 09 Feb 2015 09:59:11 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to annotated tag upstream/hurd/0.5.git20150208
in repository hurd.
commit e2b1c5c20ff1ac0017e7ac8ef853ce3326210077
Author: Justus Winter <address@hidden>
Date: Fri Jan 16 10:10:42 2015 +0100
libdiskfs: fix port leak
* libdiskfs/boot-start.c (get_console): Deallocate `device_master'.
---
libdiskfs/boot-start.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c
index cfe2303..9be8ed2 100644
--- a/libdiskfs/boot-start.c
+++ b/libdiskfs/boot-start.c
@@ -61,6 +61,7 @@ get_console ()
return MACH_PORT_NULL;
err = device_open (device_master, D_WRITE | D_READ, "console", &console);
+ mach_port_deallocate (mach_task_self (), device_master);
if (err)
return MACH_PORT_NULL;
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] annotated tag upstream/hurd/0.5.git20150208 created (now 45cd7fe), Samuel Thibault, 2015/02/09
- [hurd] 13/37: Make sure to free content dir in procfs, Samuel Thibault, 2015/02/09
- [hurd] 14/37: Revert "Make sure to free content dir in procfs", Samuel Thibault, 2015/02/09
- [hurd] 20/37: libshouldbeinlibc: Fix typo in local variable name, Samuel Thibault, 2015/02/09
- [hurd] 15/37: lib*: Fix typos in comments (found by codespell), Samuel Thibault, 2015/02/09
- [hurd] 11/37: hurd: make the protected payload changes less intrusive, Samuel Thibault, 2015/02/09
- [hurd] 23/37: random: fix typo, Samuel Thibault, 2015/02/09
- [hurd] 21/37: procfs: Fix typos in comments (found by codespell), Samuel Thibault, 2015/02/09
- [hurd] 25/37: libdiskfs: fix port leak,
Samuel Thibault <=
- [hurd] 17/37: console-client: Fix typos in comments, Samuel Thibault, 2015/02/09
- [hurd] 27/37: startup: give the tasks we create a name, Samuel Thibault, 2015/02/09
- [hurd] 33/37: Remove unimplemented -s option, Samuel Thibault, 2015/02/09
- [hurd] 19/37: misc: Fix typos in comments (found by codespell), Samuel Thibault, 2015/02/09
- [hurd] 36/37: startup: add more error handling, Samuel Thibault, 2015/02/09
- [hurd] 32/37: utils/rpctrace: fix notification port handling, Samuel Thibault, 2015/02/09
- [hurd] 16/37: aclocal.m4, configure.ac: Fix typos and grammar in comment (found by codespell), Samuel Thibault, 2015/02/09
- [hurd] 37/37: Merge remote-tracking branch 'upstream/master' into upstream, Samuel Thibault, 2015/02/09
- [hurd] 24/37: libfshelp: improve error handling, Samuel Thibault, 2015/02/09
- [hurd] 18/37: console: Fix typos in comments, Samuel Thibault, 2015/02/09