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=5c61c2f235c4909ef2fafd98f2cf7445f5e971d5 commit 5c61c2f235c4909ef2fafd98f2cf7445f5e971d5 Author: Guillem Jover <[email protected]> AuthorDate: Sun Jul 9 01:23:55 2023 +0200 dpkg-deb: Fix short lived memory leak after fork() This memory leak is short lived as we immediately exit from this child, but ASAN is complaining about it. Warned-by: gcc ASAN --- src/deb/extract.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/deb/extract.c b/src/deb/extract.c index 5cd076507..5bad48597 100644 --- a/src/deb/extract.c +++ b/src/deb/extract.c @@ -306,6 +306,7 @@ extracthalf(const char *debar, const char *dir, _("decompressing archive '%s' (size=%jd) member '%s'"), ar->name, (intmax_t)ar->size, admininfo ? ADMINMEMBER : DATAMEMBER); + dpkg_ar_close(ar); exit(0); } close(p1[0]); -- Dpkg.Org's dpkg

