diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2013-05-25 20:33:15 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2013-06-09 15:12:32 +0200 |
commit | f97bb5237489134cb971ce38b93c5d6220341ea8 (patch) | |
tree | eabfd141e20fd499bbad1c0b0385eca41cf24229 /apt-pkg/pkgrecords.cc | |
parent | bf35c19b817cc1474b3deabce0b0953c248bad42 (diff) |
OpenDescriptor should autoclose fd always on error
OpenInternDescriptor failures would cause additional errors to be
generated by double-closing an fd. Other errors (although these
are generated if the method is used incorrectly, so unlikely)
didn't close the fd aswell.
Closes: 704608
Diffstat (limited to 'apt-pkg/pkgrecords.cc')
0 files changed, 0 insertions, 0 deletions