diff options
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | URPM.xs | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -1,3 +1,4 @@ +- Fix file descriptor leak in rpm transactions - Build with the flags used to build perl itsefl - Make it work with no feature qw(indirect) (aka perl7) @@ -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); |