]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix leak found by running memcheck/tests/varinfo[1-6].vgtest
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Tue, 28 Feb 2012 20:10:05 +0000 (20:10 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Tue, 28 Feb 2012 20:10:05 +0000 (20:10 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12409

coregrind/m_debuginfo/readdwarf3.c

index 366df28d0236ec4f00925bc78d38f1e21f15dcee..705c1f5fc2361e10f98c963fe822af57a5f2fe5d 100644 (file)
@@ -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);
       }
    }