aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs1
1 files changed, 1 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index b923648..9072b0f 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -3453,6 +3453,7 @@ Urpm_verify_signature(filename)
rpmtsOpenDB(ts, O_RDONLY);
rpmtsSetVSFlags(ts, RPMVSF_DEFAULT);
rc = rpmReadPackageFile(ts, fd, filename, &h);
+ fdClose(fd);
*result = '\0';
switch(rc) {
case RPMRC_OK: