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=7fa28dce1e3a6ab4d317a2ebf8efc92f57237038

commit 7fa28dce1e3a6ab4d317a2ebf8efc92f57237038
Author: Guillem Jover <guil...@debian.org>
AuthorDate: Sun Aug 16 22:47:27 2020 +0200

    libdpkg: Fix memory leak in filesystem treewalk node free function
    
    Warned-by: gcc ASAN
    Stable-Candidate: 1.19.x
---
 lib/dpkg/treewalk.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/dpkg/treewalk.c b/lib/dpkg/treewalk.c
index dee072f2d..3277f3131 100644
--- a/lib/dpkg/treewalk.c
+++ b/lib/dpkg/treewalk.c
@@ -274,6 +274,7 @@ static void
 treenode_free_node(struct treenode *node)
 {
        free(node->pathname);
+       free(node->stat);
        free(node);
 }
 

-- 
Dpkg.Org's dpkg

Reply via email to