This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch master in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=f7a488d68bfb1070043a462b2d05944a819d367d commit f7a488d68bfb1070043a462b2d05944a819d367d Author: Guillem Jover <[email protected]> AuthorDate: Tue Feb 4 04:33:58 2020 +0100 libdpkg: Fix memory leak in parsedb context close --- debian/changelog | 1 + lib/dpkg/parse.c | 1 + 2 files changed, 2 insertions(+) diff --git a/debian/changelog b/debian/changelog index 3c953d170..7bf81a10e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -73,6 +73,7 @@ dpkg (1.20.0) UNRELEASED; urgency=medium mounting the necessary images or devices. - Replace changelog with correct copyright in file header. * dpkg, dselect: Stop using first-person singular in output messages. + * libdpkg: Fix memory leak in parsedb context close. * Perl modules: - Dpkg::Source::Package: Verify original tarball signatures at build time. - Dpkg::BuildFlags: Add new unset() method. diff --git a/lib/dpkg/parse.c b/lib/dpkg/parse.c index 041ccb0d4..e7ae89faa 100644 --- a/lib/dpkg/parse.c +++ b/lib/dpkg/parse.c @@ -753,6 +753,7 @@ parsedb_close(struct parsedb_state *ps) free(ps->data); #endif } + dpkg_error_destroy(&ps->err); free(ps); } -- Dpkg.Org's dpkg

