diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-03-25 01:11:45 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-03-25 01:11:45 -0700 |
commit | 981f27f79e607877e7b8e47a904e3972d0e8336e (patch) | |
tree | 7c6e2fbe19bd14e022f4b453be7e8be552c48dbd /pym/portage | |
parent | 3081e651fc3cd3a0729bb1fbe2e93fbc58dcef0d (diff) | |
download | portage-981f27f79e607877e7b8e47a904e3972d0e8336e.tar.gz portage-981f27f79e607877e7b8e47a904e3972d0e8336e.tar.bz2 portage-981f27f79e607877e7b8e47a904e3972d0e8336e.zip |
MergeProcess: close elog_writer_fd leak
Diffstat (limited to 'pym/portage')
-rw-r--r-- | pym/portage/dbapi/_MergeProcess.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/dbapi/_MergeProcess.py b/pym/portage/dbapi/_MergeProcess.py index a8c3c9dc7..8f61a2fde 100644 --- a/pym/portage/dbapi/_MergeProcess.py +++ b/pym/portage/dbapi/_MergeProcess.py @@ -64,6 +64,7 @@ class MergeProcess(SpawnProcess): pid = os.fork() if pid != 0: + os.close(elog_writer_fd) self._elog_reader_fd = elog_reader_fd self._buf = "" portage.process.spawned_pids.append(pid) |