summaryrefslogtreecommitdiff
path: root/cmdline/apt-extracttemplates.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2013-05-25 20:33:15 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2013-06-09 15:12:32 +0200
commitf97bb5237489134cb971ce38b93c5d6220341ea8 (patch)
treeeabfd141e20fd499bbad1c0b0385eca41cf24229 /cmdline/apt-extracttemplates.cc
parentbf35c19b817cc1474b3deabce0b0953c248bad42 (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 'cmdline/apt-extracttemplates.cc')
0 files changed, 0 insertions, 0 deletions