From ea0d3b9bf4e46fe3b91e6bb91edbfffeb09f2a49 Mon Sep 17 00:00:00 2001 From: Philippe Waroquiers Date: Tue, 28 Feb 2012 20:10:05 +0000 Subject: [PATCH] Fix leak found by running memcheck/tests/varinfo[1-6].vgtest git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12409 --- coregrind/m_debuginfo/readdwarf3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/coregrind/m_debuginfo/readdwarf3.c b/coregrind/m_debuginfo/readdwarf3.c index 366df28d0..705c1f5fc 100644 --- a/coregrind/m_debuginfo/readdwarf3.c +++ b/coregrind/m_debuginfo/readdwarf3.c @@ -2547,6 +2547,7 @@ static void parse_type_DIE ( /*MOD*/XArray* /* of TyEnt */ tyents, const members in C++ code which are compile time constants that do no exist in the class. They're not of any interest to us so we ignore them. */ + ML_(TyEnt__make_EMPTY)(&fieldE); } }