diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-06-09 23:18:10 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-06-10 10:49:41 +0200 |
commit | 7977ed047f967b3e4b4091181acce3eaf7bd8176 (patch) | |
tree | 73cac8d118fd08bc7706cb421f835c7d43f793ed | |
parent | 2202a8a05766586c60217d43193416dbd84be027 (diff) | |
download | apt-7977ed047f967b3e4b4091181acce3eaf7bd8176.tar.gz |
don't leak dpkg statusfd pipe in debugging
Not a big deal to leak fds in debugging mode, but for completeness.
Git-Dch: Ignore
-rw-r--r-- | apt-pkg/deb/dpkgpm.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc index b0237aa9a..d8e838882 100644 --- a/apt-pkg/deb/dpkgpm.cc +++ b/apt-pkg/deb/dpkgpm.cc @@ -1406,6 +1406,8 @@ bool pkgDPkgPM::Go(APT::Progress::PackageManager *progress) p != Packages.end(); ++p) free(*p); Packages.clear(); + close(fd[0]); + close(fd[1]); continue; } Args.push_back(NULL); |