aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-08-04 09:41:59 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-08-04 09:41:59 +0000
commit0c01d831acf54dda0a40a7c08bf36c42733911a3 (patch)
tree4002f96ed4e5db726929130c313f9acf868a0756
parent2125967ff6a62e1c60395aa14144e6357287e6ec (diff)
downloadperl-URPM-0c01d831acf54dda0a40a7c08bf36c42733911a3.tar
perl-URPM-0c01d831acf54dda0a40a7c08bf36c42733911a3.tar.gz
perl-URPM-0c01d831acf54dda0a40a7c08bf36c42733911a3.tar.bz2
perl-URPM-0c01d831acf54dda0a40a7c08bf36c42733911a3.tar.xz
perl-URPM-0c01d831acf54dda0a40a7c08bf36c42733911a3.zip
Fix a FD leak (patch by Pascal Terjan, bug #24112)
-rw-r--r--URPM.xs1
1 files changed, 1 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index d7d9466..2a2a011 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -3439,6 +3439,7 @@ Urpm_verify_rpm(filename, ...)
} else {
RETVAL = 1;
}
+ fdClose(fd);
rpmtsFree(ts);
}
rpmlogSetMask(oldlogmask);