This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=29f3a8dafd07191bb132c471e4a44379553384d4 commit 29f3a8dafd07191bb132c471e4a44379553384d4 Author: Guillem Jover <guil...@debian.org> AuthorDate: Tue Dec 7 22:37:59 2021 +0100 dpkg: Fix memory leak in remove-on-upgrade handling Fixes: commit 20e181fc2030385488e3db2d4cc3ce4114f0a498 Warned-by: coverity Stable-Candidate: 1.20.x --- src/unpack.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unpack.c b/src/unpack.c index f1834982b..85e0001d0 100644 --- a/src/unpack.c +++ b/src/unpack.c @@ -630,6 +630,7 @@ pkg_remove_conffile_on_upgrade(struct pkginfo *pkg, struct fsys_namenode *nameno debug(dbg_conff, "%s: namenode '%s' owned by other %s, remove-on-upgrade ignored", __func__, namenode->name, pkg_name(otherpkg, pnaw_always)); + fsys_node_pkgs_iter_free(iter); return; } fsys_node_pkgs_iter_free(iter); -- Dpkg.Org's dpkg