aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs2
1 files changed, 2 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index 4b7658c..51d416c 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -2583,6 +2583,8 @@ void
Trans_DESTROY(trans)
URPM::Transaction trans
CODE:
+ FD_t fd = rpmtsScriptFd(trans->ts);
+ if (fd) Fclose(fd);
(void)rpmtsFree(trans->ts);
if (!--trans->count) free(trans);