summaryrefslogtreecommitdiff
path: root/apt-pkg/edsp.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-06-09 22:58:06 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2016-06-10 10:49:41 +0200
commit2202a8a05766586c60217d43193416dbd84be027 (patch)
tree1089154fe51f494f826dff03b604e97465d90711 /apt-pkg/edsp.cc
parent6f35be91c9e86e463bca7df6eadf05412c7b732c (diff)
downloadapt-2202a8a05766586c60217d43193416dbd84be027.tar.gz
don't leak EDSP solver output fd
Diffstat (limited to 'apt-pkg/edsp.cc')
-rw-r--r--apt-pkg/edsp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/edsp.cc b/apt-pkg/edsp.cc
index 890252ba4..6e0a0fc2f 100644
--- a/apt-pkg/edsp.cc
+++ b/apt-pkg/edsp.cc
@@ -625,7 +625,7 @@ bool EDSP::ReadResponse(int const input, pkgDepCache &Cache, OpProgress *Progres
}
FileFd in;
- in.OpenDescriptor(input, FileFd::ReadOnly);
+ in.OpenDescriptor(input, FileFd::ReadOnly, true);
pkgTagFile response(&in, 100);
pkgTagSection section;