]> git.saurik.com Git - apt.git/commit
don't leak FD in AutoProxyDetect command return parsing
authorDavid Kalnischkies <david@kalnischkies.de>
Thu, 9 Jun 2016 22:01:46 +0000 (00:01 +0200)
committerJulian Andres Klode <jak@debian.org>
Fri, 10 Jun 2016 13:25:29 +0000 (15:25 +0200)
commit8a63f434525d0941369509d9137830c4e9872623
treeaca4322e6cb114f46d84a3e08bc8ce4f8fa05fd2
parent49997ef025ee454283722a01210c169ca8910a98
don't leak FD in AutoProxyDetect command return parsing

Just closing the fd would be enough, but while we are at it we can also
use the Popen interface to have an easier time with this.

(cherry picked from commit 8f858d560e3b7b475c623c4e242d1edce246025a)
apt-pkg/contrib/proxy.cc