aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: