From: Philippe Waroquiers Date: Tue, 28 Feb 2012 20:10:05 +0000 (+0000) Subject: Fix leak found by running memcheck/tests/varinfo[1-6].vgtest X-Git-Tag: svn/VALGRIND_3_8_0~444 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea0d3b9bf4e46fe3b91e6bb91edbfffeb09f2a49;p=thirdparty%2Fvalgrind.git Fix leak found by running memcheck/tests/varinfo[1-6].vgtest git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12409 --- diff --git a/coregrind/m_debuginfo/readdwarf3.c b/coregrind/m_debuginfo/readdwarf3.c index 366df28d02..705c1f5fc2 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); } }