summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-07-09 08:26:17 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-07-09 08:26:17 +0000
commitd58475cf4160b40641c9f0bc102bdb117cdb84fe (patch)
tree641282b189fa5b1cc40f9c8843af1751dcddbe82
parent49bd54adc96702f9fd6b53256445efabdee8428d (diff)
downloadurpmi-d58475cf4160b40641c9f0bc102bdb117cdb84fe.tar
urpmi-d58475cf4160b40641c9f0bc102bdb117cdb84fe.tar.gz
urpmi-d58475cf4160b40641c9f0bc102bdb117cdb84fe.tar.bz2
urpmi-d58475cf4160b40641c9f0bc102bdb117cdb84fe.tar.xz
urpmi-d58475cf4160b40641c9f0bc102bdb117cdb84fe.zip
Filehandle leak
-rw-r--r--urpm.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm.pm b/urpm.pm
index bc59cbea..a7d1d75a 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2764,6 +2764,7 @@ sub install {
push @readmes, map { [ $_, $fullname ] } grep {
/\bREADME(\.$trtype)?\.urpmi$/
} $pkg->files();
+ close $fh;
};
if (keys %$install || keys %$upgrade) {
$options{callback_inst} ||= \&install_logger;